Skip to content

Commit 9f9acd1

Browse files
committed
tests: Improve name of seccomp notify test
There was a typo and instead of "empty" we should have used "non-empty". Let's add a small sentence explaining the intent (like other tests in this file) and let's highlight what we expect to happen in this test (to ignore the listenerPath). Fixes: #3415 Signed-off-by: Rodrigo Campos <[email protected]>
1 parent 51e607f commit 9f9acd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/seccomp-notify.bats

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ function scmp_act_notify_template() {
9292
[ "$status" -eq 0 ]
9393
}
9494

95-
@test "runc run [seccomp] (empty listener path)" {
95+
# Ignore listenerPath if the profile doesn't use seccomp notify actions.
96+
@test "runc run [seccomp] (ignore listener path if no notify act)" {
9697
update_config ' .process.args = ["/bin/sh", "-c", "mkdir /dev/shm/foo && stat /dev/shm/foo"]
9798
| .linux.seccomp = {
9899
"defaultAction":"SCMP_ACT_ALLOW",

0 commit comments

Comments
 (0)