aboutsummaryrefslogtreecommitdiffstats
path: root/test/root/root.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/root/root.sh')
-rwxr-xr-xtest/root/root.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/root/root.sh b/test/root/root.sh
index 15c4bbd13..a39525b6e 100755
--- a/test/root/root.sh
+++ b/test/root/root.sh
@@ -24,7 +24,7 @@ fi
24#******************************** 24#********************************
25# servers 25# servers
26#******************************** 26#********************************
27if [ -f /etc/init.d/snmpd ] 27if [[ -f /etc/init.d/snmpd ]]
28then 28then
29 echo "TESTING: snmpd (test/root/snmpd.exp)" 29 echo "TESTING: snmpd (test/root/snmpd.exp)"
30 ./snmpd.exp 30 ./snmpd.exp
@@ -33,7 +33,7 @@ else
33fi 33fi
34 34
35 35
36if [ -f /etc/init.d/apache2 ] 36if [[ -f /etc/init.d/apache2 ]]
37then 37then
38 echo "TESTING: apache2 (test/root/apache2.exp)" 38 echo "TESTING: apache2 (test/root/apache2.exp)"
39 ./apache2.exp 39 ./apache2.exp
@@ -41,7 +41,7 @@ else
41 echo "TESTING SKIP: apache2 not found" 41 echo "TESTING SKIP: apache2 not found"
42fi 42fi
43 43
44if [ -f /etc/init.d/isc-dhcp-server ] 44if [[ -f /etc/init.d/isc-dhcp-server ]]
45then 45then
46 echo "TESTING: isc dhcp server (test/root/isc-dhscp.exp)" 46 echo "TESTING: isc dhcp server (test/root/isc-dhscp.exp)"
47 ./isc-dhcp.exp 47 ./isc-dhcp.exp
@@ -49,7 +49,7 @@ else
49 echo "TESTING SKIP: isc dhcp server not found" 49 echo "TESTING SKIP: isc dhcp server not found"
50fi 50fi
51 51
52if [ -f /etc/init.d/unbound ] 52if [[ -f /etc/init.d/unbound ]]
53then 53then
54 echo "TESTING: unbound (test/root/unbound.exp)" 54 echo "TESTING: unbound (test/root/unbound.exp)"
55 ./unbound.exp 55 ./unbound.exp
@@ -57,7 +57,7 @@ else
57 echo "TESTING SKIP: unbound not found" 57 echo "TESTING SKIP: unbound not found"
58fi 58fi
59 59
60if [ -f /etc/init.d/nginx ] 60if [[ -f /etc/init.d/nginx ]]
61then 61then
62 echo "TESTING: nginx (test/root/nginx.exp)" 62 echo "TESTING: nginx (test/root/nginx.exp)"
63 ./nginx.exp 63 ./nginx.exp