[libvirt] [PATCH 2/2] tests: metadatatest: Quiesce errors on expected paths

Eric Blake eblake at redhat.com
Tue Sep 17 14:42:02 UTC 2013


On 09/17/2013 07:40 AM, Peter Krempa wrote:
> Use the helper added in previous patch to quiesce errors from this test
> that was spamming logs on normal test runs.
> ---
>  tests/metadatatest.c | 2 ++
>  1 file changed, 2 insertions(+)

ACK

> 
> diff --git a/tests/metadatatest.c b/tests/metadatatest.c
> index 6bcf335..30c43ba 100644
> --- a/tests/metadatatest.c
> +++ b/tests/metadatatest.c
> @@ -229,6 +229,8 @@ mymain(void)
>          return EXIT_FAILURE;
>      }
> 
> +    virtTestQuiesceLibvirtErrors(false);
> +
>      if (virtTestRun("Assign metadata ", 1, testAssignMetadata, &test) < 0)
>          ret = EXIT_FAILURE;
>      if (virtTestRun("Rewrite Metadata ", 1, testRewriteMetadata, &test) < 0)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130917/14509d3b/attachment-0001.sig>


More information about the libvir-list mailing list