aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/interface.exp
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-04-17 00:06:53 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-04-17 00:06:53 +0200
commit575aca9482de3a1d81dbf45fa7734de229858558 (patch)
treef0b2fdeaee1b41f50ae0f74c3f1527bf7914e8c5 /test/network/interface.exp
parenttest: rm has no output by default (diff)
downloadfirejail-575aca9482de3a1d81dbf45fa7734de229858558.tar.gz
firejail-575aca9482de3a1d81dbf45fa7734de229858558.tar.zst
firejail-575aca9482de3a1d81dbf45fa7734de229858558.zip
test: adapt output to newer versions of iproute2 and net-tools
iproute2 now prevents output of double spaces
Diffstat (limited to 'test/network/interface.exp')
-rwxr-xr-xtest/network/interface.exp8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/network/interface.exp b/test/network/interface.exp
index bd8777c33..638e6d32b 100755
--- a/test/network/interface.exp
+++ b/test/network/interface.exp
@@ -27,8 +27,9 @@ expect {
27 "eth0.5" 27 "eth0.5"
28} 28}
29expect { 29expect {
30 timeout {puts "TESTING ERROR 2n";exit} 30 timeout {puts "TESTING ERROR 2\n";exit}
31 "Link" 31 "Link" {puts "old net-tools\n";}
32 "flags" {puts "new net-tools\n";}
32} 33}
33expect { 34expect {
34 timeout {puts "TESTING ERROR 3\n";exit} 35 timeout {puts "TESTING ERROR 3\n";exit}
@@ -47,7 +48,8 @@ expect {
47} 48}
48expect { 49expect {
49 timeout {puts "TESTING ERROR 6\n";exit} 50 timeout {puts "TESTING ERROR 6\n";exit}
50 "Link" 51 "Link" {puts "old net-tools\n";}
52 "flags" {puts "new net-tools\n";}
51} 53}
52expect { 54expect {
53 timeout {puts "TESTING ERROR 7\n";exit} 55 timeout {puts "TESTING ERROR 7\n";exit}