diff options
Diffstat (limited to 'test/network')
-rwxr-xr-x | test/network/bandwidth.exp | 3 | ||||
-rwxr-xr-x | test/network/hostname.exp | 2 | ||||
-rwxr-xr-x | test/network/net_noip.exp | 3 | ||||
-rwxr-xr-x | test/network/net_noip2.exp | 2 | ||||
-rwxr-xr-x | test/network/net_none.exp | 3 |
5 files changed, 13 insertions, 0 deletions
diff --git a/test/network/bandwidth.exp b/test/network/bandwidth.exp index 25845c728..db9772789 100755 --- a/test/network/bandwidth.exp +++ b/test/network/bandwidth.exp | |||
@@ -54,6 +54,9 @@ expect { | |||
54 | } | 54 | } |
55 | sleep 1 | 55 | sleep 1 |
56 | 56 | ||
57 | send -- "stty -echo\r" | ||
58 | after 100 | ||
59 | |||
57 | send -- "firejail --bandwidth=test status; echo done\r" | 60 | send -- "firejail --bandwidth=test status; echo done\r" |
58 | expect { | 61 | expect { |
59 | timeout {puts "TESTING ERROR 8\n";exit} | 62 | timeout {puts "TESTING ERROR 8\n";exit} |
diff --git a/test/network/hostname.exp b/test/network/hostname.exp index 0acb6a5ac..5dd14e028 100755 --- a/test/network/hostname.exp +++ b/test/network/hostname.exp | |||
@@ -13,6 +13,8 @@ expect { | |||
13 | "Child process initialized" | 13 | "Child process initialized" |
14 | } | 14 | } |
15 | sleep 1 | 15 | sleep 1 |
16 | send -- "stty -echo\r" | ||
17 | after 100 | ||
16 | 18 | ||
17 | send -- "ping -c 3 bingo; echo done\r" | 19 | send -- "ping -c 3 bingo; echo done\r" |
18 | expect { | 20 | expect { |
diff --git a/test/network/net_noip.exp b/test/network/net_noip.exp index 9a73f618a..1bde8456e 100755 --- a/test/network/net_noip.exp +++ b/test/network/net_noip.exp | |||
@@ -18,6 +18,9 @@ sleep 1 | |||
18 | send -- "bash\r" | 18 | send -- "bash\r" |
19 | sleep 1 | 19 | sleep 1 |
20 | 20 | ||
21 | send -- "stty -echo\r" | ||
22 | after 100 | ||
23 | |||
21 | # no default gateway configured | 24 | # no default gateway configured |
22 | send -- "netstat -rn;echo done\r" | 25 | send -- "netstat -rn;echo done\r" |
23 | expect { | 26 | expect { |
diff --git a/test/network/net_noip2.exp b/test/network/net_noip2.exp index c01f2e4f4..1e41c1b1c 100755 --- a/test/network/net_noip2.exp +++ b/test/network/net_noip2.exp | |||
@@ -17,6 +17,8 @@ expect { | |||
17 | sleep 1 | 17 | sleep 1 |
18 | send -- "bash\r" | 18 | send -- "bash\r" |
19 | sleep 1 | 19 | sleep 1 |
20 | send -- "stty -echo\r" | ||
21 | after 100 | ||
20 | 22 | ||
21 | # no default gateway configured | 23 | # no default gateway configured |
22 | send -- "netstat -rn;echo done\r" | 24 | send -- "netstat -rn;echo done\r" |
diff --git a/test/network/net_none.exp b/test/network/net_none.exp index 0d3701f22..b489d43f3 100755 --- a/test/network/net_none.exp +++ b/test/network/net_none.exp | |||
@@ -19,6 +19,9 @@ sleep 1 | |||
19 | # test default gw | 19 | # test default gw |
20 | send -- "bash\r" | 20 | send -- "bash\r" |
21 | sleep 1 | 21 | sleep 1 |
22 | send -- "stty -echo\r" | ||
23 | after 100 | ||
24 | |||
22 | send -- "netstat -rn; echo done\r" | 25 | send -- "netstat -rn; echo done\r" |
23 | expect { | 26 | expect { |
24 | timeout {puts "TESTING ERROR 1\n";exit} | 27 | timeout {puts "TESTING ERROR 1\n";exit} |