[libvirt] [PATCH] build: fix virsh reformat fallout

Eric Blake eblake at redhat.com
Thu Jan 12 22:18:11 UTC 2012


Commit 69f0b446 failed to update the expected test output.

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

Pushing under the build-breaker rule.

 tests/virshtest.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/virshtest.c b/tests/virshtest.c
index de5138c..9a39d46 100644
--- a/tests/virshtest.c
+++ b/tests/virshtest.c
@@ -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);
 }
-- 
1.7.7.5




More information about the libvir-list mailing list