aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2021-02-03 18:25:11 +0100
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2021-02-03 18:25:11 +0100
commitc40b78148108f21b8ff903ec870ffaab76550064 (patch)
treec87d807d32aa4a7034c9150bdee44034ee45246d /test
parentAdd Github Actions badges (diff)
downloadfirejail-c40b78148108f21b8ff903ec870ffaab76550064.tar.gz
firejail-c40b78148108f21b8ff903ec870ffaab76550064.tar.zst
firejail-c40b78148108f21b8ff903ec870ffaab76550064.zip
tests: check with faudit if tests are run sandboxed
Diffstat (limited to 'test')
-rwxr-xr-xtest/utils/utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/utils.sh b/test/utils/utils.sh
index 7e8426f35..8453894a2 100755
--- a/test/utils/utils.sh
+++ b/test/utils/utils.sh
@@ -18,7 +18,7 @@ echo "TESTING: build (test/utils/build.exp)"
18rm -f ~/firejail-test-file-7699 18rm -f ~/firejail-test-file-7699
19rm -f firejail-test-file-4388 19rm -f firejail-test-file-4388
20 20
21if [ $(readlink /proc/self) -lt 100 ]; then 21if [ $(faudit | grep -c "is running in a PID namespace.") -gt 0 ]; then
22 echo "TESTING SKIP: already running in pid namespace (test/utils/audit.exp)" 22 echo "TESTING SKIP: already running in pid namespace (test/utils/audit.exp)"
23else 23else
24 echo "TESTING: audit (test/utils/audit.exp)" 24 echo "TESTING: audit (test/utils/audit.exp)"