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
zzha zzha
OpenXG-RAN
Commits
0a9f80bd
Commit
0a9f80bd
authored
Dec 27, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrapper for iperf scripts
parent
dd2177ec
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
48 deletions
+70
-48
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+48
-48
cmake_targets/autotests/tools/iperf_script
cmake_targets/autotests/tools/iperf_script
+22
-0
No files found.
cmake_targets/autotests/test_case_list.xml
View file @
0a9f80bd
This diff is collapsed.
Click to expand it.
cmake_targets/autotests/tools/iperf_script
0 → 100755
View file @
0a9f80bd
#!/bin/bash
#arg1 timeout to wait before running the script
#arg2 interface
#arg3 iperf arguments
args
=(
$*
)
timeout
=
${
args
[0]
}
iface
=
${
args
[1]
}
iperf_args
=(
${
args
[@]
:2
}
)
#array=${1:-1}
echo
"args =
$array
"
echo
"timeout =
$timeout
"
echo
"iface =
$iface
"
echo
"iperf_args =
${
iperf_args
[@]
}
"
sleep
$timeout
while
true
;
do
var
=
`
ifconfig
$iface
`
;
sleep
1
;
if
[
"
$var
"
!=
""
]
;
then
break
;
fi
;
done
;
sleep
5
iperf
${
iperf_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