1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-15 07:24:00 +03:00
systemd/test/TEST-04-SECCOMP/test-seccomp.sh

14 lines
386 B
Bash
Raw Normal View History

2014-02-14 20:21:41 +04:00
#!/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