diff --git a/tests/main/snap-seccomp/task.yaml b/tests/main/snap-seccomp/task.yaml index 03ce9a600dd..3b21d2e80e3 100644 --- a/tests/main/snap-seccomp/task.yaml +++ b/tests/main/snap-seccomp/task.yaml @@ -27,6 +27,11 @@ execute: | SNAP_SECCOMP="$MOUNT_DIR/snapd/current$SNAP_SECCOMP" fi + # we can dump existing profile + $SNAP_SECCOMP dump "${PROFILE}.bin2" "$PWD/bpf-dump" + test -s "$PWD/bpf-dump.allow" + test -s "$PWD/bpf-dump.deny" + # from the old test_complain echo "Test that the @complain keyword works" rm -f "${PROFILE}.bin2"