aboutsummaryrefslogtreecommitdiffstats
path: root/test/servers6.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/servers6.exp')
-rwxr-xr-xtest/servers6.exp9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/servers6.exp b/test/servers6.exp
index 2179f6f98..9ef4ea514 100755
--- a/test/servers6.exp
+++ b/test/servers6.exp
@@ -45,7 +45,7 @@ expect {
45send -- "cat index.html\r" 45send -- "cat index.html\r"
46expect { 46expect {
47 timeout {puts "TESTING ERROR 4\n";exit} 47 timeout {puts "TESTING ERROR 4\n";exit}
48 "Welcome to nginx" 48 "DOCTYPE html PUBLIC"
49} 49}
50 50
51sleep 1 51sleep 1
@@ -63,6 +63,13 @@ expect {
63 "ppp" {puts "TESTING ERROR 6\n";exit} 63 "ppp" {puts "TESTING ERROR 6\n";exit}
64 "log" 64 "log"
65} 65}
66sleep 1
67send -- "ls -al /tmp;pwd\r"
68expect {
69 timeout {puts "TESTING ERROR 10\n";exit}
70 "X11-unix" {puts "TESTING ERROR 11\n";exit}
71 "/root"
72}
66sleep 2 73sleep 2
67 74
68puts "\nall done\n" 75puts "\nall done\n"