mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-11-06 20:25:00 +03: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:
@@ -94,9 +94,9 @@ static char *custom_uri;
|
|||||||
static int testCompareListDefault(const void *data ATTRIBUTE_UNUSED) {
|
static int testCompareListDefault(const void *data ATTRIBUTE_UNUSED) {
|
||||||
const char *const argv[] = { VIRSH_DEFAULT, "list", NULL };
|
const char *const argv[] = { VIRSH_DEFAULT, "list", NULL };
|
||||||
const char *exp = "\
|
const char *exp = "\
|
||||||
Id Name State\n\
|
Id Name State\n\
|
||||||
----------------------------------\n\
|
----------------------------------------------------\n\
|
||||||
1 test running\n\
|
1 test running\n\
|
||||||
\n";
|
\n";
|
||||||
return testCompareOutputLit(exp, NULL, argv);
|
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) {
|
static int testCompareListCustom(const void *data ATTRIBUTE_UNUSED) {
|
||||||
const char *const argv[] = { VIRSH_CUSTOM, "list", NULL };
|
const char *const argv[] = { VIRSH_CUSTOM, "list", NULL };
|
||||||
const char *exp = "\
|
const char *exp = "\
|
||||||
Id Name State\n\
|
Id Name State\n\
|
||||||
----------------------------------\n\
|
----------------------------------------------------\n\
|
||||||
1 fv0 running\n\
|
1 fv0 running\n\
|
||||||
2 fc4 running\n\
|
2 fc4 running\n\
|
||||||
\n";
|
\n";
|
||||||
return testCompareOutputLit(exp, NULL, argv);
|
return testCompareOutputLit(exp, NULL, argv);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user