diff options
Diffstat (limited to 'test/root/root.sh')
-rwxr-xr-x | test/root/root.sh | 10 |
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 | #******************************** |
27 | if [ -f /etc/init.d/snmpd ] | 27 | if [[ -f /etc/init.d/snmpd ]] |
28 | then | 28 | then |
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 | |||
33 | fi | 33 | fi |
34 | 34 | ||
35 | 35 | ||
36 | if [ -f /etc/init.d/apache2 ] | 36 | if [[ -f /etc/init.d/apache2 ]] |
37 | then | 37 | then |
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" |
42 | fi | 42 | fi |
43 | 43 | ||
44 | if [ -f /etc/init.d/isc-dhcp-server ] | 44 | if [[ -f /etc/init.d/isc-dhcp-server ]] |
45 | then | 45 | then |
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" |
50 | fi | 50 | fi |
51 | 51 | ||
52 | if [ -f /etc/init.d/unbound ] | 52 | if [[ -f /etc/init.d/unbound ]] |
53 | then | 53 | then |
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" |
58 | fi | 58 | fi |
59 | 59 | ||
60 | if [ -f /etc/init.d/nginx ] | 60 | if [[ -f /etc/init.d/nginx ]] |
61 | then | 61 | then |
62 | echo "TESTING: nginx (test/root/nginx.exp)" | 62 | echo "TESTING: nginx (test/root/nginx.exp)" |
63 | ./nginx.exp | 63 | ./nginx.exp |