From 5b1d1d5cf1c19055c4d2bdd456e3c145d82d27a6 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 3 Mar 2023 17:05:15 -0500 Subject: more testing --- test/firecfg/firecfg.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 test/firecfg/firecfg.sh (limited to 'test/firecfg/firecfg.sh') 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 @@ +#!/bin/bash +# This file is part of Firejail project +# Copyright (C) 2014-2023 Firejail Authors +# License GPL v2 + +export MALLOC_CHECK_=3 +export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) +export LC_ALL=C + +sudo cat /sys/kernel/security/apparmor/profiles +sudo firecfg +file /usr/local/bin/ping +ls -l /usr/local/bin +sudo cat /sys/kernel/security/apparmor/profiles + +#if [[ -f /sys/kernel/security/apparmor/profiles ]]; then +# +#else +# echo "TESTING SKIP: no apparmor support in Linux kernel (test/filters/apparmor.exp)" +#fi +# +#echo "TESTING: firecfg (test/firecfg/firecfg.exp)" +#./firecfg.exp.exp -- cgit v1.2.3-70-g09d2