diff --git a/tests/integration/mounts_nodev_nosuid_noexec.bats b/tests/integration/mounts_nodev_nosuid_noexec.bats index cabeeeaa2dd..1988eb3bc79 100644 --- a/tests/integration/mounts_nodev_nosuid_noexec.bats +++ b/tests/integration/mounts_nodev_nosuid_noexec.bats @@ -42,3 +42,15 @@ function teardown() { runc run test_busybox [ "$status" -eq 0 ] } + +@test "runc run [ro bind mount of a nodev,nosuid,noexec fuse sshfs mount]" { + update_config ' .mounts += [{ + type: "bind", + source: "'"$DIR"'", + destination: "/mnt", + options: ["rbind", "ro"] + }]' + + runc run test_busybox + [ "$status" -eq 0 ] +}