Fix for pexpect on BMs
Change-Id: I1ba53b60dabf48d79c5455e16c632073201b1fe3
diff --git a/TestON/drivers/common/cli/emulator/remotemininetdriver.py b/TestON/drivers/common/cli/emulator/remotemininetdriver.py
index 6aa4ab2..f11c172 100644
--- a/TestON/drivers/common/cli/emulator/remotemininetdriver.py
+++ b/TestON/drivers/common/cli/emulator/remotemininetdriver.py
@@ -497,7 +497,7 @@
" -F OpenFlow10-table_id | awk '{OFS=\",\" ; print $1 $3 $6 \
$7 $8}' | cut -d ',' -f 2- | sort -n -k1 -r"
self.handle.sendline( command )
- self.handle.expect( "k1 -r" )
+ self.handle.expect( "sort" )
self.handle.expect( "OFPST_FLOW" )
response = self.handle.before
# print "response=", response
@@ -507,7 +507,7 @@
" -O OpenFlow13 | awk '{OFS=\",\" ; print $1 $3 $6 $7}'\
| cut -d ',' -f 2- | sort -n -k1 -r"
self.handle.sendline( command )
- self.handle.expect( "k1 -r" )
+ self.handle.expect( "sort" )
self.handle.expect( "OFPST_FLOW" )
response = self.handle.before
# print "response=", response