aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/configure3
-rw-r--r--test/features/features.txt4
-rwxr-xr-xtest/features/test.sh3
3 files changed, 9 insertions, 1 deletions
diff --git a/test/configure b/test/configure
index b46b97985..95a6e664a 100755
--- a/test/configure
+++ b/test/configure
@@ -28,6 +28,9 @@ rm -fr $ROOTDIR
28mkdir -p $ROOTDIR/{root,bin,lib,lib64,usr,home,etc,dev/shm,tmp,var/run,var/tmp,var/lock,var/log,proc} 28mkdir -p $ROOTDIR/{root,bin,lib,lib64,usr,home,etc,dev/shm,tmp,var/run,var/tmp,var/lock,var/log,proc}
29mkdir -p $ROOTDIR/etc/firejail 29mkdir -p $ROOTDIR/etc/firejail
30mkdir -p $ROOTDIR/home/netblue/.config/firejail 30mkdir -p $ROOTDIR/home/netblue/.config/firejail
31mkdir $ROOTDIR/home/someotheruser
32cp /etc/passwd $ROOTDIR/etc/.
33cp /etc/group $ROOTDIR/etc/.
31touch $ROOTDIR/var/log/syslog 34touch $ROOTDIR/var/log/syslog
32touch $ROOTDIR/var/tmp/somefile 35touch $ROOTDIR/var/tmp/somefile
33SORTED=`for FILE in $* $DEFAULT_FILES; do echo " $FILE "; ldd $FILE | grep -v dynamic | cut -d " " -f 3; done | sort -u` 36SORTED=`for FILE in $* $DEFAULT_FILES; do echo " $FILE "; ldd $FILE | grep -v dynamic | cut -d " " -f 3; done | sort -u`
diff --git a/test/features/features.txt b/test/features/features.txt
index a95eeef37..01941e8f8 100644
--- a/test/features/features.txt
+++ b/test/features/features.txt
@@ -32,12 +32,14 @@ C - chroot filesystem
32 -N, O, C 32 -N, O, C
33 33
341.8 disable /etc/firejail and ~/.config/firejail 341.8 disable /etc/firejail and ~/.config/firejail
35 -N, O, C
35 36
371.9 mount namespace
36 38
37 39
382. Networking features 402. Networking features
39 41
402.1 Hostname (use --hostname=bing, do a ping and cat /etc/hostname) 422.1 Hostname (use --hostname=bingo, do a ping and cat /etc/hostname)
41 - N, O, C 43 - N, O, C
42 - ping disabled for C by default seccomp filter, use "getent hosts bingo" 44 - ping disabled for C by default seccomp filter, use "getent hosts bingo"
43 45
diff --git a/test/features/test.sh b/test/features/test.sh
index 1fb7557c8..ab00f7f29 100755
--- a/test/features/test.sh
+++ b/test/features/test.sh
@@ -10,6 +10,9 @@ echo "TESTING: 1.1 new /boot"
10echo "TESTING: 1.2 new /proc" 10echo "TESTING: 1.2 new /proc"
11./1.2.exp 11./1.2.exp
12 12
13echo "TESTING: 1.4 mask other users"
14./1.4.exp
15
13echo "TESTING: 1.5 PID namespace" 16echo "TESTING: 1.5 PID namespace"
14./1.5.exp 17./1.5.exp
15 18