aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/utils.sh')
-rwxr-xr-xtest/utils/utils.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/test/utils/utils.sh b/test/utils/utils.sh
index d98e4c2e4..c3d4a0dcf 100755
--- a/test/utils/utils.sh
+++ b/test/utils/utils.sh
@@ -115,11 +115,19 @@ echo "TESTING: top (test/utils/top.exp)"
115echo "TESTING: file transfer (test/utils/ls.exp)" 115echo "TESTING: file transfer (test/utils/ls.exp)"
116./ls.exp 116./ls.exp
117 117
118echo "TESTING: firemon seccomp (test/utils/firemon-seccomp.exp)" 118if grep -q "^Seccomp.*0" /proc/self/status; then
119./firemon-seccomp.exp 119 echo "TESTING: firemon seccomp (test/utils/firemon-seccomp.exp)"
120 ./firemon-seccomp.exp
121else
122 echo "TESTING SKIP: seccomp already active (test/utils/firemon-seccomp.exp)"
123fi
120 124
121echo "TESTING: firemon caps (test/utils/firemon-caps.exp)" 125if grep -q "^CapBnd:\\s0000003fffffffff" /proc/self/status; then
122./firemon-caps.exp 126 echo "TESTING: firemon caps (test/utils/firemon-caps.exp)"
127 ./firemon-caps.exp
128else
129 echo "TESTING SKIP: other capabilities than expected (test/utils/firemon-caps.exp)"
130fi
123 131
124echo "TESTING: firemon cpu (test/utils/firemon-cpu.exp)" 132echo "TESTING: firemon cpu (test/utils/firemon-cpu.exp)"
125./firemon-cpu.exp 133./firemon-cpu.exp