diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/firecfg/firecfg.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/firecfg/firecfg.sh b/test/firecfg/firecfg.sh new file mode 100755 index 000000000..5a87f3764 --- /dev/null +++ b/test/firecfg/firecfg.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 | sudo cat /sys/kernel/security/apparmor/profiles | ||
11 | sudo firecfg | ||
12 | file /usr/local/bin/ping | ||
13 | ls -l /usr/local/bin | ||
14 | sudo cat /sys/kernel/security/apparmor/profiles | ||
15 | |||
16 | #if [[ -f /sys/kernel/security/apparmor/profiles ]]; then | ||
17 | # | ||
18 | #else | ||
19 | # echo "TESTING SKIP: no apparmor support in Linux kernel (test/filters/apparmor.exp)" | ||
20 | #fi | ||
21 | # | ||
22 | #echo "TESTING: firecfg (test/firecfg/firecfg.exp)" | ||
23 | #./firecfg.exp.exp | ||