mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
build: fix virsh reformat fallout
Commit 69f0b446 failed to update the expected test output. * tests/virshtest.c (testCompareListDefault) (testCompareListCustom): Adjust to recent code change.
This commit is contained in:
parent
08272dc8b4
commit
d98a3d4a59
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user