提交 1ff86b40 编写于 作者: T Tomáš Ryšavý 提交者: John Ferlan

tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors.

This function doesn't follow our convention of naming functions.
上级 c2f36506
......@@ -245,7 +245,7 @@ mymain(void)
{
int result = 0;
virtTestQuiesceLibvirtErrors(true);
virTestQuiesceLibvirtErrors(true);
# define DO_TEST(_name) \
do { \
......
......@@ -279,7 +279,7 @@ mymain(void)
return EXIT_FAILURE;
}
virtTestQuiesceLibvirtErrors(false);
virTestQuiesceLibvirtErrors(false);
if (virTestRun("Assign metadata ", testAssignMetadata, &test) < 0)
ret = EXIT_FAILURE;
......
......@@ -546,7 +546,7 @@ mymain(void)
if (!(test.conn = virConnectOpen("test:///default")))
return EXIT_FAILURE;
virtTestQuiesceLibvirtErrors(false);
virTestQuiesceLibvirtErrors(false);
/* Domain event tests */
if (virTestRun("Domain createXML start event (old API)",
......
......@@ -272,7 +272,7 @@ mymain(void)
* register a handler to stop error messages cluttering
* up display
*/
virtTestQuiesceLibvirtErrors(false);
virTestQuiesceLibvirtErrors(false);
#define DO_TEST_PARSE_AND_FORMAT(addrstr, family, pass) \
do { \
......
......@@ -726,7 +726,7 @@ virtTestErrorFuncQuiet(void *data ATTRIBUTE_UNUSED,
/* register an error handler in tests when using connections */
void
virtTestQuiesceLibvirtErrors(bool always)
virTestQuiesceLibvirtErrors(bool always)
{
if (always || !virTestGetVerbose())
virSetErrorFunc(NULL, virtTestErrorFuncQuiet);
......
......@@ -95,7 +95,7 @@ unsigned int virTestGetRegenerate(void);
char *virTestLogContentAndReset(void);
void virtTestQuiesceLibvirtErrors(bool always);
void virTestQuiesceLibvirtErrors(bool always);
void virTestCounterReset(const char *prefix);
const char *virtTestCounterNext(void);
......
......@@ -263,7 +263,7 @@ mymain(void)
{
int result = 0;
virtTestQuiesceLibvirtErrors(true);
virTestQuiesceLibvirtErrors(true);
#define DO_TEST(_name) \
do { \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册