Skip to content

Commit 9ddddfb

Browse files
committed
test: fix mount to test
Signed-off-by: Giuseppe Scrivano <[email protected]>
1 parent 040cb2e commit 9ddddfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_mounts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def prepare_rootfs(rootfs):
109109
conf = base_config()
110110
conf['process']['args'] = ['/init', 'mode', '/tmp']
111111
add_all_namespaces(conf)
112-
mount_opt = {"destination": "/tmp", "type": "tmpfs", "source": "tmpfs", "options": ["bind", "ro"]}
112+
conf['mounts'].append({"destination": "/tmp", "type": "tmpfs", "source": "tmpfs", "options": ["bind", "ro"]})
113113
out, _ = run_and_get_output(conf, hide_stderr=True, callback_prepare_rootfs=prepare_rootfs)
114114
if "712" in out:
115115
return 0

0 commit comments

Comments
 (0)