Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
8ec795da
Commit
8ec795da
authored
Jun 05, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitlab CI: minor fix to iperf3 script
parent
74fe218f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cmake_targets/autotests/tools/iperf3_script_phone
cmake_targets/autotests/tools/iperf3_script_phone
+4
-4
No files found.
cmake_targets/autotests/tools/iperf3_script_phone
View file @
8ec795da
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#arg1 timeout to wait before running the script
#arg1 timeout to wait before running the script
#arg2 interface
#arg2 interface
#arg3 iperf arguments
#arg3 iperf
3
arguments
args
=(
$*
)
args
=(
$*
)
timeout
=
${
args
[0]
}
timeout
=
${
args
[0]
}
...
@@ -43,7 +43,7 @@ iperf3_args=(${args[@]:2})
...
@@ -43,7 +43,7 @@ iperf3_args=(${args[@]:2})
echo
"args =
${
args
[@]
}
"
echo
"args =
${
args
[@]
}
"
echo
"timeout =
$timeout
"
echo
"timeout =
$timeout
"
echo
"device_id =
$device_id
"
echo
"device_id =
$device_id
"
echo
"iperf
_args =
${
iperf
_args
[@]
}
"
echo
"iperf
3_args =
${
iperf3
_args
[@]
}
"
sleep
$timeout
sleep
$timeout
...
@@ -58,6 +58,6 @@ while true ; do
...
@@ -58,6 +58,6 @@ while true ; do
fi
fi
done
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