From 353f5f25d25216b633e59ac7f7fb39b33e1031e2 Mon Sep 17 00:00:00 2001 From: Rohit Gupta <rohit.gupta@eurecom.fr> Date: Wed, 3 Feb 2016 11:49:23 +0100 Subject: [PATCH] removed NFS check --- .../autotests/run_exec_lte-softmodem_tests.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py index ed4a19f4dc..e68f591a58 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) -- 2.26.2