tests/int/mount.bats: reformat
Easier to read mounts. No functional change.
@@ -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
