From 575aca9482de3a1d81dbf45fa7734de229858558 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Mon, 17 Apr 2017 00:06:53 +0200 Subject: test: adapt output to newer versions of iproute2 and net-tools iproute2 now prevents output of double spaces --- test/network/interface.exp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/network/interface.exp') 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 { "eth0.5" } expect { - timeout {puts "TESTING ERROR 2n";exit} - "Link" + timeout {puts "TESTING ERROR 2\n";exit} + "Link" {puts "old net-tools\n";} + "flags" {puts "new net-tools\n";} } expect { timeout {puts "TESTING ERROR 3\n";exit} @@ -47,7 +48,8 @@ expect { } expect { timeout {puts "TESTING ERROR 6\n";exit} - "Link" + "Link" {puts "old net-tools\n";} + "flags" {puts "new net-tools\n";} } expect { timeout {puts "TESTING ERROR 7\n";exit} -- cgit v1.2.3-54-g00ecf