diff options
Diffstat (limited to 'test/capabilities/capabilities.sh')
-rwxr-xr-x | test/capabilities/capabilities.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/capabilities/capabilities.sh b/test/capabilities/capabilities.sh new file mode 100755 index 000000000..50279cd4f --- /dev/null +++ b/test/capabilities/capabilities.sh | |||
@@ -0,0 +1,23 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2023 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | export MALLOC_CHECK_=3 | ||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | ||
8 | export LC_ALL=C | ||
9 | |||
10 | |||
11 | #if grep -q "^CapBnd:\\s0000003fffffffff" /proc/self/status; then | ||
12 | echo "TESTING: capabilities (test/filters/caps.exp)" | ||
13 | ./caps.exp | ||
14 | #else | ||
15 | # echo "TESTING SKIP: other capabilities than expected (test/filters/caps.exp)" | ||
16 | #fi | ||
17 | |||
18 | echo "TESTING: capabilities print (test/filters/caps-print.exp)" | ||
19 | ./caps-print.exp | ||
20 | |||
21 | echo "TESTING: capabilities join (test/filters/caps-join.exp)" | ||
22 | ./caps-join.exp | ||
23 | |||