Skip to content
Snippets Groups Projects

WIP: integration_2021_wk41

Closed Remi Hardy requested to merge integration_2021_wk41 into develop
1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
  • f0ad9ecb
    fix · f0ad9ecb
    hardy authored
+ 1
1
@@ -38,7 +38,7 @@ import os
import time
from multiprocessing import Process, Lock, SimpleQueue
import yaml
import subprocess
#-----------------------------------------------------------
# OAI Testing modules
@@ -372,7+372,7 @@
result = re.search('interfaceToUse=(?P<eth_interface>[a-zA-Z0-9\-\_]+)done', mySSH.getBefore())
if result is not None:
eth_interface = result.group('eth_interface')
logging.debug('\u001B[1m Launching tshark on interface ' + eth_interface + '\u001B[0m')
pcapfile = pcapfile_prefix + self.testCase_id + '_log.pcap'
mySSH.command('echo ' + lPassWord + ' | sudo -S rm -f /tmp/' + pcapfile , '\$', 5)
mySSH.command('echo $USER; nohup sudo -E tshark -i ' + eth_interface + ' -w /tmp/' + pcapfile + ' 2>&1 &','\$', 5)
Loading