aboutsummaryrefslogtreecommitdiffstats
path: root/test/test-root.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-09-15 09:59:11 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-09-15 09:59:11 -0400
commitfc116c063938d5e141d5fbc38e8013d9832ef315 (patch)
tree382b401cc0a9efeda1509a88bd430cd68b741346 /test/test-root.sh
parentfixed /etc/login.def reading on Mageia systems (diff)
downloadfirejail-fc116c063938d5e141d5fbc38e8013d9832ef315.tar.gz
firejail-fc116c063938d5e141d5fbc38e8013d9832ef315.tar.zst
firejail-fc116c063938d5e141d5fbc38e8013d9832ef315.zip
testing
Diffstat (limited to 'test/test-root.sh')
-rwxr-xr-xtest/test-root.sh81
1 files changed, 0 insertions, 81 deletions
diff --git a/test/test-root.sh b/test/test-root.sh
deleted file mode 100755
index 0fdaf4ff7..000000000
--- a/test/test-root.sh
+++ /dev/null
@@ -1,81 +0,0 @@
1#!/bin/bash
2
3./chk_config.exp
4
5echo "TESTING: tmpfs (option_tmpfs.exp)"
6./option_tmpfs.exp
7
8echo "TESTING: profile tmpfs (profile_tmpfs)"
9./profile_tmpfs.exp
10
11echo "TESTING: network interfaces (net_interface.exp)"
12./network/net_interface.exp
13
14echo "TESTING: chroot (fs_chroot_asroot.exp)"
15./fs_chroot_asroot.exp
16
17if [ -f /etc/init.d/snmpd ]
18then
19 echo "TESTING: servers snmpd, private-dev (servers2.exp)"
20 ./servers2.exp
21fi
22
23if [ -f /etc/init.d/apache2 ]
24then
25 echo "TESTING: servers apache2, private-dev, private-tmp (servers3.exp)"
26 ./servers3.exp
27fi
28
29if [ -f /etc/init.d/isc-dhcp-server ]
30then
31 echo "TESTING: servers isc dhcp server, private-dev (servers4.exp)"
32 ./servers4.exp
33fi
34
35if [ -f /etc/init.d/unbound ]
36then
37 echo "TESTING: servers unbound, private-dev, private-tmp (servers5.exp)"
38 ./servers5.exp
39fi
40
41if [ -f /etc/init.d/nginx ]
42then
43 echo "TESTING: servers nginx, private-dev, private-tmp (servers6.exp)"
44 ./servers6.exp
45fi
46
47echo "TESTING: seccomp umount (seccomp-umount.exp)"
48./filters/seccomp-umount.exp
49
50echo "TESTING: seccomp chmod (seccomp-chmod.exp)"
51./filters/seccomp-chmod.exp
52
53echo "TESTING: seccomp chown (seccomp-chown.exp)"
54./filters/seccomp-chown.exp
55
56echo "TESTING: bind directory (option_bind_directory.exp)"
57./option_bind_directory.exp
58
59echo "TESTING: bind file (option_bind_file.exp)"
60echo hello > tmpfile
61./option_bind_file.exp
62rm -f tmpfile
63
64echo "TESTING: firemon --interface (firemon-interface.exp)"
65./firemon-interface.exp
66
67if [ -f /sys/fs/cgroup/g1/tasks ]
68then
69 echo "TESTING: firemon --cgroup (firemon-cgroup.exp)"
70 ./firemon-cgroup.exp
71fi
72
73echo "TESTING: chroot resolv.conf (chroot-resolvconf.exp)"
74rm -f tmpfile
75touch tmpfile
76rm -f /tmp/chroot/etc/resolv.conf
77ln -s tmp /tmp/chroot/etc/resolv.conf
78./chroot-resolvconf.exp
79rm -f tmpfile
80rm /tmp/chroot/etc/resolv.conf
81