aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/firecfg/firecfg.sh23
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
6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8export LC_ALL=C
9
10sudo cat /sys/kernel/security/apparmor/profiles
11sudo firecfg
12file /usr/local/bin/ping
13ls -l /usr/local/bin
14sudo 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