mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
shfmt mounts.bats to pass make validate
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -22,8 +22,8 @@ function teardown() {
|
||||
}
|
||||
|
||||
@test "runc run [ro tmpfs mount]" {
|
||||
update_config ' .mounts += [{"source": "tmpfs", "destination": "/mnt", "type": "tmpfs", "options": ["ro", "nodev", "nosuid", "mode=755"]}]
|
||||
| .process.args |= ["grep", "^tmpfs /mnt", "/proc/mounts"]'
|
||||
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_ro_tmpfs_mount
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
Reference in New Issue
Block a user