diff options
Diffstat (limited to 'test/servers3.exp')
-rwxr-xr-x | test/servers3.exp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/test/servers3.exp b/test/servers3.exp index f23ffba46..da44a28ee 100755 --- a/test/servers3.exp +++ b/test/servers3.exp | |||
@@ -26,6 +26,21 @@ expect { | |||
26 | "apache" | 26 | "apache" |
27 | } | 27 | } |
28 | 28 | ||
29 | send -- "rm index.html\r" | ||
30 | sleep 1 | ||
31 | send -- "wget 0\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 2\n";exit} | ||
34 | "saved" | ||
35 | } | ||
36 | send -- "cat index.html\r" | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR 3\n";exit} | ||
39 | "This is the default web page for this server" | ||
40 | } | ||
41 | |||
42 | |||
43 | |||
29 | send -- "exit\r" | 44 | send -- "exit\r" |
30 | sleep 1 | 45 | sleep 1 |
31 | puts "\n" | 46 | puts "\nall done\n" |