mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors.
This function doesn't follow our convention of naming functions.
This commit is contained in:
parent
c2f36506b7
commit
1ff86b408a
@ -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 { \
|
||||
|
Loading…
Reference in New Issue
Block a user