Re: [libvirt] [PATCH] 3/3 Add netcf XML validation and input and output tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 15, 2009 at 11:24:59AM +0100, Daniel P. Berrange wrote:
> On Wed, Jul 15, 2009 at 11:20:00AM +0200, Daniel Veillard wrote:
> >   Basic stuff similar to other tests, first we verify the input tests
> > all conform to the provided schemas, then for each test we parse and
> > reserialize verifying the output is identical.
> 
> ACK, good stuff.
> > + fail:
> > +    if (ret != 0)
> > +        fprintf(stderr, "expected: -------\n%s", actual);
> 
> 
> BTW, you don't need this fprintf when using virtTestDifference.
> If you set VIR_TEST_DEBUG=2 then it will print out the full
> XML being compared automatically :-)

  Oops I knew I had forgotten a debugging output it escaped, good catch !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]