Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
ade6fc31
T
tp-qemu
项目概览
openeuler
/
tp-qemu
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tp-qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
ade6fc31
编写于
10月 31, 2018
作者:
Q
Qianqian Zhu
提交者:
GitHub
10月 31, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1525 from PaulYuuu/multicast_iperf_update_iperf_ver
Update iperf2 version and fix bug
上级
fd440a54
ee76a42e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
6 deletion
+6
-6
qemu/tests/cfg/multicast_iperf.cfg
qemu/tests/cfg/multicast_iperf.cfg
+4
-4
qemu/tests/multicast_iperf.py
qemu/tests/multicast_iperf.py
+2
-2
未找到文件。
qemu/tests/cfg/multicast_iperf.cfg
浏览文件 @
ade6fc31
- multicast_iperf: install setup image_copy unattended_install.cdrom
virt_test_type = qemu
type = multicast_iperf
win_iperf_url = https://
nocweboldcst.ucf.edu/files/iperf
.exe
linux_iperf_url = http
://sourceforge.net/projects/iperf/files/iperf-2.0.5
.tar.gz
iperf_version = 2.0.
5
linux_install_cmd = tar zxvf %s > /dev/null ; cd iperf-%s; ./configure > /dev/null; make >
/dev/null; make install >
/dev/null
win_iperf_url = https://
sourceforge.net/projects/iperf2/files/iperf-2.0.12-win
.exe
linux_iperf_url = http
s://sourceforge.net/projects/iperf2/files/iperf-2.0.12
.tar.gz
iperf_version = 2.0.
12
linux_install_cmd = tar zxvf %s > /dev/null ; cd iperf-%s; ./configure > /dev/null; make >
/dev/null; make install >
/dev/null
linux_app_check_cmd = "iperf --version"
linux_app_check_exit_status = 1
transfer_timeout = 100
...
...
qemu/tests/multicast_iperf.py
浏览文件 @
ade6fc31
...
...
@@ -44,7 +44,7 @@ def run(test, params, env):
os_type
=
params
.
get
(
"os_type"
)
win_iperf_url
=
params
.
get
(
"win_iperf_url"
)
linux_iperf_url
=
params
.
get
(
"linux_iperf_url"
)
iperf_version
=
params
.
get
(
"iperf_version"
,
"2.0.
5
"
)
iperf_version
=
params
.
get
(
"iperf_version"
,
"2.0.
12
"
)
transfer_timeout
=
int
(
params
.
get
(
"transfer_timeout"
,
360
))
login_timeout
=
int
(
params
.
get
(
"login_timeout"
,
360
))
...
...
@@ -146,7 +146,7 @@ def run(test, params, env):
error_context
.
context
(
"Test finish, check the result"
,
logging
.
info
)
process
.
system
(
"pkill -2 iperf"
)
t
.
join
()
t
.
join
(
timeout
=
60
)
finally
:
if
_process_is_alive
(
"iperf"
):
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录