aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/2.1.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/features/2.1.exp')
-rwxr-xr-xtest/features/2.1.exp18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/features/2.1.exp b/test/features/2.1.exp
index 6b2b3f7f5..a2ae321ce 100755
--- a/test/features/2.1.exp
+++ b/test/features/2.1.exp
@@ -23,6 +23,12 @@ expect {
23 "bingo" 23 "bingo"
24} 24}
25after 100 25after 100
26send -- "cat /etc/hostname\r"
27expect {
28 timeout {puts "TESTING ERROR 1.0\n";exit}
29 "bingo"
30}
31after 100
26send -- "getent hosts bingo\r" 32send -- "getent hosts bingo\r"
27expect { 33expect {
28 timeout {puts "TESTING ERROR 1.1\n";exit} 34 timeout {puts "TESTING ERROR 1.1\n";exit}
@@ -53,6 +59,12 @@ expect {
53 "bingo" 59 "bingo"
54} 60}
55after 100 61after 100
62send -- "cat /etc/hostname\r"
63expect {
64 timeout {puts "TESTING ERROR 3.0\n";exit}
65 "bingo"
66}
67after 100
56send -- "getent hosts bingo\r" 68send -- "getent hosts bingo\r"
57expect { 69expect {
58 timeout {puts "TESTING ERROR 3.1\n";exit} 70 timeout {puts "TESTING ERROR 3.1\n";exit}
@@ -82,6 +94,12 @@ expect {
82 "bingo" 94 "bingo"
83} 95}
84after 100 96after 100
97send -- "cat /etc/hostname\r"
98expect {
99 timeout {puts "TESTING ERROR 5.0\n";exit}
100 "bingo"
101}
102after 100
85send -- "getent hosts bingo\r" 103send -- "getent hosts bingo\r"
86expect { 104expect {
87 timeout {puts "TESTING ERROR 5.1\n";exit} 105 timeout {puts "TESTING ERROR 5.1\n";exit}