aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-03 17:05:15 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-03 17:05:15 -0500
commit5b1d1d5cf1c19055c4d2bdd456e3c145d82d27a6 (patch)
tree05f5bf6a177ce561d1bc27dda435c713b4e71b85 /test
parentcleanup (diff)
downloadfirejail-5b1d1d5cf1c19055c4d2bdd456e3c145d82d27a6.tar.gz
firejail-5b1d1d5cf1c19055c4d2bdd456e3c145d82d27a6.tar.zst
firejail-5b1d1d5cf1c19055c4d2bdd456e3c145d82d27a6.zip
more testing
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