Fix comparison error in testWalkthrough.testHostCommands (#1168)
This commit is contained in:
@@ -131,7 +131,7 @@ class testWalkthrough( unittest.TestCase ):
|
|||||||
ifcount += 1
|
ifcount += 1
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
self.assertTrue( ifcount <= 3, 'Missing interfaces on s1')
|
self.assertTrue( ifcount >= 3, 'Missing interfaces on s1')
|
||||||
# h1 ps
|
# h1 ps
|
||||||
p.sendline( "h1 ps -a | egrep -v 'ps|grep'" )
|
p.sendline( "h1 ps -a | egrep -v 'ps|grep'" )
|
||||||
p.expect( self.prompt )
|
p.expect( self.prompt )
|
||||||
|
|||||||
Reference in New Issue
Block a user