Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
8377ae48
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,发现更多精彩内容 >>
未验证
提交
8377ae48
编写于
5月 10, 2018
作者:
X
Xu Han
提交者:
GitHub
5月 10, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1350 from hereischen/python3-unicode_escape
Python 3: Replace string_escape with unicode_escape for decode()
上级
10e9f2a9
0607a53d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
7 deletion
+12
-7
qemu/tests/flow_caches_stress_test.py
qemu/tests/flow_caches_stress_test.py
+2
-1
qemu/tests/migration_with_netperf.py
qemu/tests/migration_with_netperf.py
+2
-1
qemu/tests/multi_nics_stress.py
qemu/tests/multi_nics_stress.py
+2
-1
qemu/tests/netperf_stress.py
qemu/tests/netperf_stress.py
+2
-1
qemu/tests/netperf_udp.py
qemu/tests/netperf_udp.py
+2
-1
qemu/tests/ovs_qos.py
qemu/tests/ovs_qos.py
+2
-2
未找到文件。
qemu/tests/flow_caches_stress_test.py
浏览文件 @
8377ae48
...
...
@@ -84,7 +84,8 @@ def run(test, params, env):
client
=
params
.
get
(
"shell_client"
,
"ssh"
)
port
=
params
.
get
(
"shell_port"
,
"22"
)
prompt
=
params
.
get
(
"shell_prompt"
,
r
"^root@.*[\#\$]\s*$|#"
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
decode
(
'string_escape'
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
encode
().
decode
(
'unicode_escape'
)
status_test_command
=
params
.
get
(
"status_test_command"
,
"echo $?"
)
compile_option_client
=
params
.
get
(
"compile_option_client"
,
""
)
...
...
qemu/tests/migration_with_netperf.py
浏览文件 @
8377ae48
...
...
@@ -57,7 +57,8 @@ def run(test, params, env):
client
=
params
.
get
(
"shell_client"
,
"ssh"
)
port
=
params
.
get
(
"shell_port"
,
"22"
)
prompt
=
params
.
get
(
"shell_prompt"
,
r
"^root@.*[\#\$]\s*$|#"
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
decode
(
'string_escape'
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
encode
().
decode
(
'unicode_escape'
)
status_test_command
=
params
.
get
(
"status_test_command"
,
"echo $?"
)
compile_option_client_h
=
params
.
get
(
"compile_option_client_h"
,
""
)
compile_option_server_h
=
params
.
get
(
"compile_option_server_h"
,
""
)
...
...
qemu/tests/multi_nics_stress.py
浏览文件 @
8377ae48
...
...
@@ -62,7 +62,8 @@ def run(test, params, env):
shell_port
=
params
.
get
(
"shell_port"
)
os_type
=
params
.
get
(
"os_type"
)
shell_prompt
=
params
.
get
(
"shell_prompt"
,
r
"^root@.*[\#\$]\s*$|#"
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
decode
(
'string_escape'
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
encode
().
decode
(
'unicode_escape'
)
status_test_command
=
params
.
get
(
"status_test_command"
,
"echo $?"
)
ping_count
=
int
(
params
.
get
(
"ping_count"
,
10
))
compile_option_client
=
params
.
get
(
"compile_option_client"
,
""
)
...
...
qemu/tests/netperf_stress.py
浏览文件 @
8377ae48
...
...
@@ -34,7 +34,8 @@ def run(test, params, env):
shell_port
=
params
.
get
(
"shell_port"
)
os_type
=
params
.
get
(
"os_type"
)
shell_prompt
=
params
.
get
(
"shell_prompt"
,
r
"^root@.*[\#\$]\s*$|#"
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
decode
(
'string_escape'
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
encode
().
decode
(
'unicode_escape'
)
status_test_command
=
params
.
get
(
"status_test_command"
,
"echo $?"
)
compile_option_client
=
params
.
get
(
"compile_option_client"
,
""
)
compile_option_server
=
params
.
get
(
"compile_option_server"
,
""
)
...
...
qemu/tests/netperf_udp.py
浏览文件 @
8377ae48
...
...
@@ -66,7 +66,8 @@ def run(test, params, env):
client
=
params
.
get
(
"shell_client"
)
port
=
params
.
get
(
"shell_port"
)
prompt
=
params
.
get
(
"shell_prompt"
,
r
"^root@.*[\#\$]\s*$|#"
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
decode
(
'string_escape'
)
linesep
=
params
.
get
(
"shell_linesep"
,
"
\n
"
).
encode
().
decode
(
'unicode_escape'
)
status_test_command
=
params
.
get
(
"status_test_command"
,
"echo $?"
)
compile_option_client
=
params
.
get
(
"compile_option_client"
,
""
)
compile_option_server
=
params
.
get
(
"compile_option_server"
,
""
)
...
...
qemu/tests/ovs_qos.py
浏览文件 @
8377ae48
...
...
@@ -187,7 +187,7 @@ def run(test, params, env):
password
=
info
[
-
4
],
username
=
info
[
-
5
],
prompt
=
info
[
-
6
],
linesep
=
info
[
-
7
].
decode
(
'string
_escape'
),
linesep
=
info
[
-
7
].
encode
().
decode
(
'unicode
_escape'
),
status_test_command
=
info
[
-
8
],
compile_option
=
compile_option_server
)
netperf_servers
.
append
((
server
,
vm
))
...
...
@@ -209,7 +209,7 @@ def run(test, params, env):
password
=
info
[
-
4
],
username
=
info
[
-
5
],
prompt
=
info
[
-
6
],
linesep
=
info
[
-
7
].
decode
(
'string
_escape'
),
linesep
=
info
[
-
7
].
encode
().
decode
(
'unicode
_escape'
),
status_test_command
=
info
[
-
8
],
compile_option
=
compile_option_client
)
netperf_clients
.
append
((
client
,
vm
))
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录