Commit 353f5f25 authored by Rohit Gupta's avatar Rohit Gupta

removed NFS check

parent e0297385
...@@ -1282,18 +1282,17 @@ if localshell == 0: ...@@ -1282,18 +1282,17 @@ if localshell == 0:
print '\nCleaning Older running programs : ' + CleanUpOldProgs print '\nCleaning Older running programs : ' + CleanUpOldProgs
cleanOldPrograms(oai_list[index], CleanUpOldProgs, CleanUpAluLteBox, ExmimoRfStop) cleanOldPrograms(oai_list[index], CleanUpOldProgs, CleanUpAluLteBox, ExmimoRfStop)
result = oai_list[index].send('mount ' + NFSResultsDir, True) #result = oai_list[index].send('mount ' + NFSResultsDir, True)
print "Mounting NFS Share " + NFSResultsDir + "..." + result #print "Mounting NFS Share " + NFSResultsDir + "..." + result
# Check if NFS share is mounted correctly. # Check if NFS share is mounted correctly.
print 'Checking if NFS Share<' + NFSResultsDir + '> 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'
cmd = 'if grep -qs '+NFSResultsDir+ ' /proc/mounts; then echo \'' + NFSResultsDir + ' is mounted\' ; fi' #search_expr = NFSResultsDir + ' is mounted'
search_expr = NFSResultsDir + ' is mounted' #print "cmd = " + cmd
print "cmd = " + cmd #print "search_expr = " + search_expr
print "search_expr = " + search_expr #result = oai_list[index].send_expect(cmd, search_expr)
result = oai_list[index].send_expect(cmd, search_expr) #print "Mount NFS_Results_Dir..." + result
print "Mount NFS_Results_Dir..." + result
index = index + 1 index = index + 1
#oai.connect2(user,pw) #oai.connect2(user,pw)
......
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