diff --git a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py index ed4a19f4dc529bc7a20f252122fcb528738ff1f2..e68f591a58c3a8360e3185c44fdd34b92745ae73 100755 --- a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py +++ b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py @@ -1282,18 +1282,17 @@ if localshell == 0: print '\nCleaning Older running programs : ' + CleanUpOldProgs cleanOldPrograms(oai_list[index], CleanUpOldProgs, CleanUpAluLteBox, ExmimoRfStop) - result = oai_list[index].send('mount ' + NFSResultsDir, True) - print "Mounting NFS Share " + NFSResultsDir + "..." + result + #result = oai_list[index].send('mount ' + NFSResultsDir, True) + #print "Mounting NFS Share " + NFSResultsDir + "..." + result # Check if NFS share is mounted correctly. - print 'Checking if NFS Share<' + NFSResultsDir + '> is mounted correctly...' - #result = oai_list[index].send_expect('mount | grep ' + NFSResultsDir, NFSResultsDir ) - cmd = 'if grep -qs '+NFSResultsDir+ ' /proc/mounts; then echo \'' + NFSResultsDir + ' is mounted\' ; fi' - search_expr = NFSResultsDir + ' is mounted' - print "cmd = " + cmd - print "search_expr = " + search_expr - result = oai_list[index].send_expect(cmd, search_expr) - print "Mount NFS_Results_Dir..." + result + #print 'Checking if NFS Share<' + NFSResultsDir + '> is mounted correctly...' + #cmd = 'if grep -qs '+NFSResultsDir+ ' /proc/mounts; then echo \'' + NFSResultsDir + ' is mounted\' ; fi' + #search_expr = NFSResultsDir + ' is mounted' + #print "cmd = " + cmd + #print "search_expr = " + search_expr + #result = oai_list[index].send_expect(cmd, search_expr) + #print "Mount NFS_Results_Dir..." + result index = index + 1 #oai.connect2(user,pw)