From f928d3263d788da8dec64f06c792988b6076e600 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Fri, 14 Feb 2014 17:21:41 +0100 Subject: test: add basic seccomp tests --- test/TEST-04-SECCOMP/test-seccomp.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test/TEST-04-SECCOMP/test-seccomp.sh (limited to 'test/TEST-04-SECCOMP/test-seccomp.sh') 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 -- cgit v1.2.3-54-g00ecf