Skip to content
GitLab
Menu
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
ed852796
Commit
ed852796
authored
Jun 05, 2016
by
Rohit Gupta
Browse files
Gitlab CI: minor fix to iperf3 script
parent
418a8a45
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_targets/autotests/tools/iperf3_script_phone
View file @
ed852796
...
...
@@ -32,7 +32,7 @@
#arg1 timeout to wait before running the script
#arg2 interface
#arg3 iperf arguments
#arg3 iperf
3
arguments
args
=(
$*
)
timeout
=
${
args
[0]
}
...
...
@@ -43,7 +43,7 @@ iperf3_args=(${args[@]:2})
echo
"args =
${
args
[@]
}
"
echo
"timeout =
$timeout
"
echo
"device_id =
$device_id
"
echo
"iperf_args =
${
iperf_args
[@]
}
"
echo
"iperf
3
_args =
${
iperf
3
_args
[@]
}
"
sleep
$timeout
...
...
@@ -58,6 +58,6 @@ while true ; do
fi
done
echo
"Starting iperf now..."
echo
"Starting iperf
3
now..."
sudo
adb
-s
$device_id
shell /data/local/tmp/iperf3
${
iperf_args
[@]
}
sudo
adb
-s
$device_id
shell /data/local/tmp/iperf3
${
iperf
3
_args
[@]
}
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