[libvirt] PATCH: 5/14: Convert test driver to generic domain API

Daniel P. Berrange berrange at redhat.com
Wed Jul 9 10:18:50 UTC 2008


On Tue, Jul 08, 2008 at 05:35:31PM +0100, Daniel P. Berrange wrote:
> This patch ports the Test driver over to the domain XML apis. 


> diff -r 3c038ace4e38 tests/virshtest.c
> --- a/tests/virshtest.c	Mon Jul 07 11:39:43 2008 +0100
> +++ b/tests/virshtest.c	Mon Jul 07 11:39:51 2008 +0100
> @@ -48,10 +48,6 @@
>      if (testFilterLine(actualData, filter) < 0)
>        return -1;
>  
> -  if (getenv("DEBUG_TESTS")) {
> -      printf("Expect %d '%s'\n", (int)strlen(expectData), expectData);
> -      printf("Actual %d '%s'\n", (int)strlen(actualData), actualData);
> -  }
>    if (STRNEQ(expectData, actualData)) {
>        virtTestDifference(stderr, expectData, actualData);
>        return -1;

This chunk of patch is obviously completely unrelated to the porting of
the test driver to new APIs. Its just a cleanup of legacy debug output
so I've just comitted this chunk now.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list