diff options
Diffstat (limited to 'test/test-root.sh')
-rwxr-xr-x | test/test-root.sh | 81 |
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 | |||
5 | echo "TESTING: tmpfs (option_tmpfs.exp)" | ||
6 | ./option_tmpfs.exp | ||
7 | |||
8 | echo "TESTING: profile tmpfs (profile_tmpfs)" | ||
9 | ./profile_tmpfs.exp | ||
10 | |||
11 | echo "TESTING: network interfaces (net_interface.exp)" | ||
12 | ./network/net_interface.exp | ||
13 | |||
14 | echo "TESTING: chroot (fs_chroot_asroot.exp)" | ||
15 | ./fs_chroot_asroot.exp | ||
16 | |||
17 | if [ -f /etc/init.d/snmpd ] | ||
18 | then | ||
19 | echo "TESTING: servers snmpd, private-dev (servers2.exp)" | ||
20 | ./servers2.exp | ||
21 | fi | ||
22 | |||
23 | if [ -f /etc/init.d/apache2 ] | ||
24 | then | ||
25 | echo "TESTING: servers apache2, private-dev, private-tmp (servers3.exp)" | ||
26 | ./servers3.exp | ||
27 | fi | ||
28 | |||
29 | if [ -f /etc/init.d/isc-dhcp-server ] | ||
30 | then | ||
31 | echo "TESTING: servers isc dhcp server, private-dev (servers4.exp)" | ||
32 | ./servers4.exp | ||
33 | fi | ||
34 | |||
35 | if [ -f /etc/init.d/unbound ] | ||
36 | then | ||
37 | echo "TESTING: servers unbound, private-dev, private-tmp (servers5.exp)" | ||
38 | ./servers5.exp | ||
39 | fi | ||
40 | |||
41 | if [ -f /etc/init.d/nginx ] | ||
42 | then | ||
43 | echo "TESTING: servers nginx, private-dev, private-tmp (servers6.exp)" | ||
44 | ./servers6.exp | ||
45 | fi | ||
46 | |||
47 | echo "TESTING: seccomp umount (seccomp-umount.exp)" | ||
48 | ./filters/seccomp-umount.exp | ||
49 | |||
50 | echo "TESTING: seccomp chmod (seccomp-chmod.exp)" | ||
51 | ./filters/seccomp-chmod.exp | ||
52 | |||
53 | echo "TESTING: seccomp chown (seccomp-chown.exp)" | ||
54 | ./filters/seccomp-chown.exp | ||
55 | |||
56 | echo "TESTING: bind directory (option_bind_directory.exp)" | ||
57 | ./option_bind_directory.exp | ||
58 | |||
59 | echo "TESTING: bind file (option_bind_file.exp)" | ||
60 | echo hello > tmpfile | ||
61 | ./option_bind_file.exp | ||
62 | rm -f tmpfile | ||
63 | |||
64 | echo "TESTING: firemon --interface (firemon-interface.exp)" | ||
65 | ./firemon-interface.exp | ||
66 | |||
67 | if [ -f /sys/fs/cgroup/g1/tasks ] | ||
68 | then | ||
69 | echo "TESTING: firemon --cgroup (firemon-cgroup.exp)" | ||
70 | ./firemon-cgroup.exp | ||
71 | fi | ||
72 | |||
73 | echo "TESTING: chroot resolv.conf (chroot-resolvconf.exp)" | ||
74 | rm -f tmpfile | ||
75 | touch tmpfile | ||
76 | rm -f /tmp/chroot/etc/resolv.conf | ||
77 | ln -s tmp /tmp/chroot/etc/resolv.conf | ||
78 | ./chroot-resolvconf.exp | ||
79 | rm -f tmpfile | ||
80 | rm /tmp/chroot/etc/resolv.conf | ||
81 | |||