[PATCH] build: fix virsh reformat fallout

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

 



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

--
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]