diff options
Diffstat (limited to 'test/TEST-04-SECCOMP/test-seccomp.sh')
-rwxr-xr-x | test/TEST-04-SECCOMP/test-seccomp.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/TEST-04-SECCOMP/test-seccomp.sh b/test/TEST-04-SECCOMP/test-seccomp.sh new file mode 100755 index 0000000000..2496190445 --- /dev/null +++ b/test/TEST-04-SECCOMP/test-seccomp.sh @@ -0,0 +1,13 @@ +#!/bin/bash -x + +systemctl start will-fail.service +systemctl start will-fail2.service +systemctl start will-not-fail.service +systemctl start will-not-fail2.service +systemctl is-failed will-fail.service || exit 1 +systemctl is-failed will-fail2.service || exit 1 +systemctl is-failed will-not-fail.service && exit 1 +systemctl is-failed will-not-fail2.service && exit 1 + +touch /testok +exit 0 |