From dbb0b361a3abb95745372ba626c4427277b72ccc Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Thu, 28 Apr 2016 00:02:53 +0200 Subject: Make some tests more robust --- test/environment/nice.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/environment/nice.exp') diff --git a/test/environment/nice.exp b/test/environment/nice.exp index 7e5731c63..3a5db71c8 100755 --- a/test/environment/nice.exp +++ b/test/environment/nice.exp @@ -17,7 +17,7 @@ sleep 1 send -- "top -b -n 1\r" expect { timeout {puts "TESTING ERROR 1\n";exit} - "netblue" + $env(USER) } expect { timeout {puts "TESTING ERROR 2\n";exit} @@ -29,7 +29,7 @@ expect { } expect { timeout {puts "TESTING ERROR 4\n";exit} - "netblu" + $env(USER) } expect { timeout {puts "TESTING ERROR 5\n";exit} @@ -54,7 +54,7 @@ sleep 1 send -- "top -b -n 1\r" expect { timeout {puts "TESTING ERROR 11\n";exit} - "netblue" + $env(USER) } expect { timeout {puts "TESTING ERROR 12\n";exit} @@ -66,7 +66,7 @@ expect { } expect { timeout {puts "TESTING ERROR 14\n";exit} - "netblu" + $env(USER) } expect { timeout {puts "TESTING ERROR 15\n";exit} -- cgit v1.2.3-54-g00ecf