aboutsummaryrefslogtreecommitdiffstats
path: root/test/test-root.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-root.sh')
-rwxr-xr-xtest/test-root.sh19
1 files changed, 16 insertions, 3 deletions
diff --git a/test/test-root.sh b/test/test-root.sh
index ac6b2ef00..1c3fc4c96 100755
--- a/test/test-root.sh
+++ b/test/test-root.sh
@@ -2,6 +2,12 @@
2 2
3./chk_config.exp 3./chk_config.exp
4 4
5echo "TESTING: tmpfs"
6./option_tmpfs.exp
7
8echo "TESTING: profile tmpfs"
9./profile_tmpfs.exp
10
5echo "TESTING: network interfaces" 11echo "TESTING: network interfaces"
6./net_interface.exp 12./net_interface.exp
7 13
@@ -16,7 +22,7 @@ fi
16 22
17if [ -f /etc/init.d/apache2 ] 23if [ -f /etc/init.d/apache2 ]
18then 24then
19 echo "TESTING: servers apache2, private-dev" 25 echo "TESTING: servers apache2, private-dev, private-tmp"
20 ./servers3.exp 26 ./servers3.exp
21fi 27fi
22 28
@@ -28,13 +34,13 @@ fi
28 34
29if [ -f /etc/init.d/unbound ] 35if [ -f /etc/init.d/unbound ]
30then 36then
31 echo "TESTING: servers unbound, private-dev" 37 echo "TESTING: servers unbound, private-dev, private-tmp"
32 ./servers5.exp 38 ./servers5.exp
33fi 39fi
34 40
35if [ -f /etc/init.d/nginx ] 41if [ -f /etc/init.d/nginx ]
36then 42then
37 echo "TESTING: servers nginx, private-dev" 43 echo "TESTING: servers nginx, private-dev, private-tmp"
38 ./servers6.exp 44 ./servers6.exp
39fi 45fi
40 46
@@ -66,3 +72,10 @@ then
66 echo "TESTING: firemon --cgroup" 72 echo "TESTING: firemon --cgroup"
67 ./firemon-cgroup.exp 73 ./firemon-cgroup.exp
68fi 74fi
75
76echo "TESTING: chroot resolv.conf"
77rm -f tmpfile
78touch tmpfile
79ln -s tmp /tmp/chroot/etc/resolv.conf
80./chroot-resolvconf.exp
81rm -f tmpfile