TEST-07-PID1: fix negative check

This commit is contained in:
Yu Watanabe
2025-07-16 22:45:04 +09:00
parent f1eed4e592
commit 8abdceac77

View File

@@ -63,9 +63,9 @@ systemd-run --wait \
/usr/lib/systemd/tests/unit-tests/manual/test-bpf-token
# Check that without the delegates, the helper aborts trying to get a token
! systemd-run --wait \
(! systemd-run --wait \
-p PrivateUsers=yes \
-p PrivateMounts=yes \
-p DelegateNamespaces=mnt \
-p PrivateBPF=yes \
/usr/lib/systemd/tests/unit-tests/manual/test-bpf-token
/usr/lib/systemd/tests/unit-tests/manual/test-bpf-token)