[libvirt] [PATCH 14/14] tests: Add metadata tests

Eric Blake eblake at redhat.com
Tue Sep 17 03:01:54 UTC 2013


On 09/10/2013 04:15 AM, Peter Krempa wrote:
> This test excercises the virDomain[Get|Set]Metadata API and tests it for

s/excercises/exercises/

> regressions
> ---
>  tests/Makefile.am    |   7 ++
>  tests/metadatatest.c | 245 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 252 insertions(+)
>  create mode 100644 tests/metadatatest.c

ACK.

> +static const char metadata1[] =
> +"<derp xmlns:foobar='http://foo.bar/'>\n"
> +"  <bar>foobar</bar>\n"
> +"  <foo fooish='blurb'>foofoo</foo>\n"
> +"  <foobar:baz>zomg</foobar:baz>\n"
> +"</derp>";

For a good laugh, try reading this aloud while someone else transcribes
it :)

-- 
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/20130916/c82a42c5/attachment-0001.sig>


More information about the libvir-list mailing list