diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2017-04-17 00:06:53 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2017-04-17 00:06:53 +0200 |
commit | 575aca9482de3a1d81dbf45fa7734de229858558 (patch) | |
tree | f0b2fdeaee1b41f50ae0f74c3f1527bf7914e8c5 /test/network/interface.exp | |
parent | test: rm has no output by default (diff) | |
download | firejail-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-x | test/network/interface.exp | 8 |
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 | } |
29 | expect { | 29 | expect { |
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 | } |
33 | expect { | 34 | expect { |
34 | timeout {puts "TESTING ERROR 3\n";exit} | 35 | timeout {puts "TESTING ERROR 3\n";exit} |
@@ -47,7 +48,8 @@ expect { | |||
47 | } | 48 | } |
48 | expect { | 49 | expect { |
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 | } |
52 | expect { | 54 | expect { |
53 | timeout {puts "TESTING ERROR 7\n";exit} | 55 | timeout {puts "TESTING ERROR 7\n";exit} |