diff options
Diffstat (limited to 'test/test-root.sh')
-rwxr-xr-x | test/test-root.sh | 19 |
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 | ||
5 | echo "TESTING: tmpfs" | ||
6 | ./option_tmpfs.exp | ||
7 | |||
8 | echo "TESTING: profile tmpfs" | ||
9 | ./profile_tmpfs.exp | ||
10 | |||
5 | echo "TESTING: network interfaces" | 11 | echo "TESTING: network interfaces" |
6 | ./net_interface.exp | 12 | ./net_interface.exp |
7 | 13 | ||
@@ -16,7 +22,7 @@ fi | |||
16 | 22 | ||
17 | if [ -f /etc/init.d/apache2 ] | 23 | if [ -f /etc/init.d/apache2 ] |
18 | then | 24 | then |
19 | echo "TESTING: servers apache2, private-dev" | 25 | echo "TESTING: servers apache2, private-dev, private-tmp" |
20 | ./servers3.exp | 26 | ./servers3.exp |
21 | fi | 27 | fi |
22 | 28 | ||
@@ -28,13 +34,13 @@ fi | |||
28 | 34 | ||
29 | if [ -f /etc/init.d/unbound ] | 35 | if [ -f /etc/init.d/unbound ] |
30 | then | 36 | then |
31 | echo "TESTING: servers unbound, private-dev" | 37 | echo "TESTING: servers unbound, private-dev, private-tmp" |
32 | ./servers5.exp | 38 | ./servers5.exp |
33 | fi | 39 | fi |
34 | 40 | ||
35 | if [ -f /etc/init.d/nginx ] | 41 | if [ -f /etc/init.d/nginx ] |
36 | then | 42 | then |
37 | echo "TESTING: servers nginx, private-dev" | 43 | echo "TESTING: servers nginx, private-dev, private-tmp" |
38 | ./servers6.exp | 44 | ./servers6.exp |
39 | fi | 45 | fi |
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 |
68 | fi | 74 | fi |
75 | |||
76 | echo "TESTING: chroot resolv.conf" | ||
77 | rm -f tmpfile | ||
78 | touch tmpfile | ||
79 | ln -s tmp /tmp/chroot/etc/resolv.conf | ||
80 | ./chroot-resolvconf.exp | ||
81 | rm -f tmpfile | ||