aboutsummaryrefslogtreecommitdiffstats
path: root/test/test-root.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-root.sh')
-rwxr-xr-xtest/test-root.sh82
1 files changed, 0 insertions, 82 deletions
diff --git a/test/test-root.sh b/test/test-root.sh
deleted file mode 100755
index 7e1a0b968..000000000
--- a/test/test-root.sh
+++ /dev/null
@@ -1,82 +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./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: /proc/sysrq-trigger reset disabled (sysrq-trigger.exp)"
48./sysrq-trigger.exp
49
50echo "TESTING: seccomp umount (seccomp-umount.exp)"
51./seccomp-umount.exp
52
53echo "TESTING: seccomp chmod (seccomp-chmod.exp)"
54./seccomp-chmod.exp
55
56echo "TESTING: seccomp chown (seccomp-chown.exp)"
57./seccomp-chown.exp
58
59echo "TESTING: bind directory (option_bind_directory.exp)"
60./option_bind_directory.exp
61
62echo "TESTING: bind file (option_bind_file.exp)"
63echo hello > tmpfile
64./option_bind_file.exp
65rm -f tmpfile
66
67echo "TESTING: firemon --interface (firemon-interface.exp)"
68./firemon-interface.exp
69
70if [ -f /sys/fs/cgroup/g1/tasks ]
71then
72 echo "TESTING: firemon --cgroup (firemon-cgroup.exp)"
73 ./firemon-cgroup.exp
74fi
75
76echo "TESTING: chroot resolv.conf (chroot-resolvconf.exp)"
77rm -f tmpfile
78touch tmpfile
79rm -f /tmp/chroot/etc/resolv.conf
80ln -s tmp /tmp/chroot/etc/resolv.conf
81./chroot-resolvconf.exp
82rm -f tmpfile