提交 d98a3d4a 编写于 作者: E Eric Blake

build: fix virsh reformat fallout

Commit 69f0b446 failed to update the expected test output.

* tests/virshtest.c (testCompareListDefault)
(testCompareListCustom): Adjust to recent code change.
上级 08272dc8
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册