Skip to content

Commit

Permalink
Merge pull request #2666 from AkihiroSuda/shfmt-20201029
Browse files Browse the repository at this point in the history
shfmt mounts.bats to pass `make validate`
  • Loading branch information
Mrunal Patel committed Oct 29, 2020
2 parents 8d860c6 + 7b8c4e9 commit cf6c074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/mounts.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

0 comments on commit cf6c074

Please sign in to comment.