]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: fix virsh reformat fallout
authorEric Blake <eblake@redhat.com>
Thu, 12 Jan 2012 22:16:40 +0000 (15:16 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 12 Jan 2012 22:16:40 +0000 (15:16 -0700)
Commit 69f0b446 failed to update the expected test output.

* tests/virshtest.c (testCompareListDefault)
(testCompareListCustom): Adjust to recent code change.

tests/virshtest.c

index de5138c6f8dc29786e26f2dcb65895bba18dd7c2..9a39d46f5b995991ee0c2166704121eedd2d982e 100644 (file)
@@ -94,9 +94,9 @@ static char *custom_uri;
 static int testCompareListDefault(const void *data ATTRIBUTE_UNUSED) {
   const char *const argv[] = { VIRSH_DEFAULT, "list", NULL };
   const char *exp = "\
- Id Name                 State\n\
-----------------------------------\n\
 1 test                 running\n\
+ Id    Name                           State\n\
+----------------------------------------------------\n\
1     test                           running\n\
 \n";
   return testCompareOutputLit(exp, NULL, argv);
 }
@@ -104,10 +104,10 @@ static int testCompareListDefault(const void *data ATTRIBUTE_UNUSED) {
 static int testCompareListCustom(const void *data ATTRIBUTE_UNUSED) {
   const char *const argv[] = { VIRSH_CUSTOM, "list", NULL };
   const char *exp = "\
- Id Name                 State\n\
-----------------------------------\n\
 1 fv0                  running\n\
 2 fc4                  running\n\
+ Id    Name                           State\n\
+----------------------------------------------------\n\
1     fv0                            running\n\
2     fc4                            running\n\
 \n";
   return testCompareOutputLit(exp, NULL, argv);
 }