diff --git a/tests/integration/mounts.bats b/tests/integration/mounts.bats index 4bc2e134b..4be19f50e 100644 --- a/tests/integration/mounts.bats +++ b/tests/integration/mounts.bats @@ -12,7 +12,11 @@ function teardown() { } @test "runc run [bind mount]" { - update_config ' .mounts += [{"source": ".", "destination": "/tmp/bind", "options": ["bind"]}] + update_config ' .mounts += [{ + source: ".", + destination: "/tmp/bind", + options: ["bind"] + }] | .process.args |= ["ls", "/tmp/bind/config.json"]' runc run test_busybox @@ -21,7 +25,12 @@ function teardown() { } @test "runc run [ro tmpfs mount]" { - update_config ' .mounts += [{"source": "tmpfs", "destination": "/mnt", "type": "tmpfs", "options": ["ro", "nodev", "nosuid", "mode=755"]}] + update_config ' .mounts += [{ + source: "tmpfs", + destination: "/mnt", + type: "tmpfs", + options: ["ro", "nodev", "nosuid", "mode=755"] + }] | .process.args |= ["grep", "^tmpfs /mnt", "/proc/mounts"]' runc run test_busybox