Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangwenhui
OpenXG-RAN
Commits
367f8905
Commit
367f8905
authored
Feb 19, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes file permission problem by adding sudo. Removes debug printings.
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
7f4f6688
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+2
-7
No files found.
ci-scripts/runTestOnVM.sh
View file @
367f8905
...
...
@@ -84,11 +84,8 @@ function start_basic_sim_enb {
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/basic_simulator"
>>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/basic_simulator/enb/"
>>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/basic_simulator/enb/"
>>
$1
echo
'echo MY NUMBER: $?'
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
'echo MY NUMBER: $?'
>>
$1
echo
"chmod 775 ./my-lte-softmodem-run.sh"
>>
$1
echo
'echo MY NUMBER: $?'
>>
$1
echo
"cat ./my-lte-softmodem-run.sh"
>>
$1
echo
"if [ -e /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
]; then sudo sudo rm -f /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
; fi"
>>
$1
echo
"sudo -E daemon --inherit --unsafe --name=enb_daemon --chdir=/home/ubuntu/tmp/cmake_targets/basic_simulator/enb -o /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
./my-lte-softmodem-run.sh"
>>
$1
...
...
@@ -376,10 +373,8 @@ function start_nos1_sim_ue {
echo
"if [
\`
lsmod | grep -c nasmesh
\`
-eq 0 ]; then sudo -E ./init_nas_nos1 UE; fi"
>>
$1
echo
"echo
\"
cd /home/ubuntu/tmp/cmake_targets/lte_noS1_build_oai/build/
\"
"
>>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/lte_noS1_build_oai/build/"
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem-nos1 -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
-r
$LOC_NB_RBS
--siml1
\"
> ./my-lte-uesoftmodem-run.sh "
>>
$1
echo
'echo MY NUMBER: $?'
>>
$1
echo
"chmod 775 ./my-lte-uesoftmodem-run.sh"
>>
$1
echo
'echo MY NUMBER: $?'
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem-nos1 -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
-r
$LOC_NB_RBS
--siml1
\"
| sudo tee -a ./my-lte-uesoftmodem-run.sh "
>>
$1
echo
"sudo chmod 775 ./my-lte-uesoftmodem-run.sh"
>>
$1
echo
"cat ./my-lte-uesoftmodem-run.sh"
>>
$1
echo
"sudo -E daemon --inherit --unsafe --name=ue_daemon --chdir=/home/ubuntu/tmp/cmake_targets/lte_noS1_build_oai/build -o /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
./my-lte-uesoftmodem-run.sh"
>>
$1
...
...
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