summaryrefslogtreecommitdiff
path: root/test/TEST-04-SECCOMP/test-seccomp.sh
blob: 249619044517b12e33c3143d93e4553ae8bededc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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