Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
26
Merge Requests
26
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
oai
openairinterface5G
Commits
44247b11
Commit
44247b11
authored
Jan 14, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-34-test_framework' into develop
parents
e53353bc
853bad6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+5
-1
cmake_targets/tools/stop_exmimo2
cmake_targets/tools/stop_exmimo2
+1
-0
No files found.
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
44247b11
...
...
@@ -1099,7 +1099,6 @@ except KeyError:
sys
.
exit
(
1
)
# get the oai object
host
=
os
.
uname
()[
1
]
#oai = openair('localdomain','calisson')
...
...
@@ -1208,6 +1207,11 @@ if localshell == 0:
result
=
oai_list
[
index
].
send_expect_false
(
'sudo -S -v'
,
'may not run sudo'
,
True
)
print
"Sudo permissions..."
+
result
print
"Killing zombie ssh sessions from earlier sessions..."
cmd
=
'ps aux |grep
\"
/usr/bin/ssh -q -l guptar
\"
|tr -s
\"
\"
:|cut -f 2 -d :|xargs kill -9
\'
'
result
=
oai_list
[
index
].
send_recv
(
cmd
,
True
)
print
result
print
'
\n
Cleaning Older running programs : '
+
CleanUpOldProgs
cleanOldPrograms
(
oai_list
[
index
],
CleanUpOldProgs
,
CleanUpAluLteBox
,
ExmimoRfStop
)
...
...
cmake_targets/tools/stop_exmimo2
View file @
44247b11
...
...
@@ -6,6 +6,7 @@ if [ "$OPENAIR_DIR" == "" ]; then
echo
"Is the OPENAIR_DIR path set correctly? Exiting now"
exit
fi
sudo
-E
bash
-c
'echo 3 > /proc/sys/vm/drop_caches'
#load the module
sudo
-E
$OPENAIR_DIR
/cmake_targets/tools/init_exmimo2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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