Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
353f5f25
Commit
353f5f25
authored
Feb 03, 2016
by
Rohit Gupta
Browse files
removed NFS check
parent
e0297385
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
353f5f25
...
...
@@ -1282,18 +1282,17 @@ if localshell == 0:
print
'
\n
Cleaning 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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment