Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
1ff86b40
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1ff86b40
编写于
5月 26, 2016
作者:
T
Tomáš Ryšavý
提交者:
John Ferlan
6月 08, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors.
This function doesn't follow our convention of naming functions.
上级
c2f36506
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
7 addition
and
7 deletion
+7
-7
tests/esxutilstest.c
tests/esxutilstest.c
+1
-1
tests/metadatatest.c
tests/metadatatest.c
+1
-1
tests/objecteventtest.c
tests/objecteventtest.c
+1
-1
tests/sockettest.c
tests/sockettest.c
+1
-1
tests/testutils.c
tests/testutils.c
+1
-1
tests/testutils.h
tests/testutils.h
+1
-1
tests/utiltest.c
tests/utiltest.c
+1
-1
未找到文件。
tests/esxutilstest.c
浏览文件 @
1ff86b40
...
@@ -245,7 +245,7 @@ mymain(void)
...
@@ -245,7 +245,7 @@ mymain(void)
{
{
int
result
=
0
;
int
result
=
0
;
vir
t
TestQuiesceLibvirtErrors
(
true
);
virTestQuiesceLibvirtErrors
(
true
);
# define DO_TEST(_name) \
# define DO_TEST(_name) \
do { \
do { \
...
...
tests/metadatatest.c
浏览文件 @
1ff86b40
...
@@ -279,7 +279,7 @@ mymain(void)
...
@@ -279,7 +279,7 @@ mymain(void)
return
EXIT_FAILURE
;
return
EXIT_FAILURE
;
}
}
vir
t
TestQuiesceLibvirtErrors
(
false
);
virTestQuiesceLibvirtErrors
(
false
);
if
(
virTestRun
(
"Assign metadata "
,
testAssignMetadata
,
&
test
)
<
0
)
if
(
virTestRun
(
"Assign metadata "
,
testAssignMetadata
,
&
test
)
<
0
)
ret
=
EXIT_FAILURE
;
ret
=
EXIT_FAILURE
;
...
...
tests/objecteventtest.c
浏览文件 @
1ff86b40
...
@@ -546,7 +546,7 @@ mymain(void)
...
@@ -546,7 +546,7 @@ mymain(void)
if
(
!
(
test
.
conn
=
virConnectOpen
(
"test:///default"
)))
if
(
!
(
test
.
conn
=
virConnectOpen
(
"test:///default"
)))
return
EXIT_FAILURE
;
return
EXIT_FAILURE
;
vir
t
TestQuiesceLibvirtErrors
(
false
);
virTestQuiesceLibvirtErrors
(
false
);
/* Domain event tests */
/* Domain event tests */
if
(
virTestRun
(
"Domain createXML start event (old API)"
,
if
(
virTestRun
(
"Domain createXML start event (old API)"
,
...
...
tests/sockettest.c
浏览文件 @
1ff86b40
...
@@ -272,7 +272,7 @@ mymain(void)
...
@@ -272,7 +272,7 @@ mymain(void)
* register a handler to stop error messages cluttering
* register a handler to stop error messages cluttering
* up display
* up display
*/
*/
vir
t
TestQuiesceLibvirtErrors
(
false
);
virTestQuiesceLibvirtErrors
(
false
);
#define DO_TEST_PARSE_AND_FORMAT(addrstr, family, pass) \
#define DO_TEST_PARSE_AND_FORMAT(addrstr, family, pass) \
do { \
do { \
...
...
tests/testutils.c
浏览文件 @
1ff86b40
...
@@ -726,7 +726,7 @@ virtTestErrorFuncQuiet(void *data ATTRIBUTE_UNUSED,
...
@@ -726,7 +726,7 @@ virtTestErrorFuncQuiet(void *data ATTRIBUTE_UNUSED,
/* register an error handler in tests when using connections */
/* register an error handler in tests when using connections */
void
void
vir
t
TestQuiesceLibvirtErrors
(
bool
always
)
virTestQuiesceLibvirtErrors
(
bool
always
)
{
{
if
(
always
||
!
virTestGetVerbose
())
if
(
always
||
!
virTestGetVerbose
())
virSetErrorFunc
(
NULL
,
virtTestErrorFuncQuiet
);
virSetErrorFunc
(
NULL
,
virtTestErrorFuncQuiet
);
...
...
tests/testutils.h
浏览文件 @
1ff86b40
...
@@ -95,7 +95,7 @@ unsigned int virTestGetRegenerate(void);
...
@@ -95,7 +95,7 @@ unsigned int virTestGetRegenerate(void);
char
*
virTestLogContentAndReset
(
void
);
char
*
virTestLogContentAndReset
(
void
);
void
vir
t
TestQuiesceLibvirtErrors
(
bool
always
);
void
virTestQuiesceLibvirtErrors
(
bool
always
);
void
virTestCounterReset
(
const
char
*
prefix
);
void
virTestCounterReset
(
const
char
*
prefix
);
const
char
*
virtTestCounterNext
(
void
);
const
char
*
virtTestCounterNext
(
void
);
...
...
tests/utiltest.c
浏览文件 @
1ff86b40
...
@@ -263,7 +263,7 @@ mymain(void)
...
@@ -263,7 +263,7 @@ mymain(void)
{
{
int
result
=
0
;
int
result
=
0
;
vir
t
TestQuiesceLibvirtErrors
(
true
);
virTestQuiesceLibvirtErrors
(
true
);
#define DO_TEST(_name) \
#define DO_TEST(_name) \
do { \
do { \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录