Commit e2a871a2 authored by Boris Djalal's avatar Boris Djalal

Test.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent e89e5de1
...@@ -787,9 +787,9 @@ class SSHConnection(): ...@@ -787,9 +787,9 @@ class SSHConnection():
# self.copyout(self.eNBIPAddress, self.eNBUserName, self.eNBPassword, pcap_log_file, self.eNBSourceCodePath + '/cmake_targets/.') # self.copyout(self.eNBIPAddress, self.eNBUserName, self.eNBPassword, pcap_log_file, self.eNBSourceCodePath + '/cmake_targets/.')
sys.exit(1) sys.exit(1)
else: else:
print('current directory: ' + os.getcwd()) #print('current directory: ' + os.getcwd())
self.command('pwd', '\$', 4) #self.command('pwd', '\$', 4)
print('self.command pwd: ' + str(self.ssh.before)) #print('self.command pwd: ' + str(self.ssh.before))
self.command('stdbuf -o0 cat ' + self.eNBLogFile + ' | egrep --text --color=never -i "wait|sync"', '\$', 4) self.command('stdbuf -o0 cat ' + self.eNBLogFile + ' | egrep --text --color=never -i "wait|sync"', '\$', 4)
#print(self.ssh.before) #print(self.ssh.before)
result = re.search('got sync', str(self.ssh.before)) result = re.search('got sync', str(self.ssh.before))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment