ustat: Add missing space in known-fail
PATCH 1/1 ustat: Add missing space in known-fail
Although testinfo.pl in a7b6c94503 adds extra space for producing doc, space was missing when printing after test run:
$ ./ustat01 ... HINT: You _MAY_ be hit by known kernel failures:
ustat() is known to fail with EINVAL on Btrfs, seehttps://lore.kernel.org/linux-btrfs/[email protected]/
---
We might just remove the space from docparse/testinfo.pl which is now useless:
testinfo.pl +1 -1
@@ -456,7 +456,7 @@ sub content_all_tests # tag value value can be split into more lines if too long # i.e. URL in known-fail for (@$tag[2 .. $#$tag]) { - $v .= " $_"; + $v .= $_; } $content .= "\n|" . reference($k) . "\n|$v\n";
testcases/kernel/syscalls/ustat/ustat01.c | 2 +- testcases/kernel/syscalls/ustat/ustat02.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/syscalls/ustat/ustat01.c +1 -1
@@ -45,7 +45,7 @@ static struct tst_test test = { .test_all = run, .setup = setup, .tags = (const struct tst_tag []) { - {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see" + {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see " "https://lore.kernel.org/linux-btrfs/[email protected]/" }, {}
testcases/kernel/syscalls/ustat/ustat02.c +1 -1
@@ -64,7 +64,7 @@ static struct tst_test test = { .setup = setup, .tcnt = ARRAY_SIZE(tc), .tags = (const struct tst_tag []) { - {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see" + {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see " "https://lore.kernel.org/linux-btrfs/[email protected]/" }, {}
Signature · 5 lines
2.35.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi,
Quoted 19 lines
Although testinfo.pl in
a7b6c94503adds extra space for producing doc, space was missing when printing after test run:$ ./ustat01 ... HINT: You _MAY_ be hit by known kernel failures:
ustat()is known to fail with EINVAL on Btrfs, seehttps://lore.kernel.org/linux-btrfs/[email protected]/Signed-off-by Petr Vorel <[email protected]>---
We might just remove the space fromdocparse/testinfo.plwhich is now useless:testinfo.pl +0
-0
testinfo.pl sub content_all_tests · line 462
Quoted 8 lines
testinfo.pl +1
-1@@ -456,7 +456,7 @@ sub content_all_tests # tag value value can be split into more lines if too long # i.e. URL in known-fail for (@$tag[2 .. $#$tag]) { - $v .= " $_"; + $v .= $_; } $content .= "\n|" . reference($k) . "\n|$v\n";
Ah, I confused patchwork (patchwork bug?). The change in docparse/testinfo.pl was just a suggestion (under first ---).
The real committed change starts below.
Kind regards,
Petr
Quoted 30 lines
testcases/kernel/syscalls/ustat/ustat01.c | 2 +- testcases/kernel/syscalls/ustat/ustat02.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)testcases/kernel/syscalls/ustat/ustat01.c +1
-1@@ -45,7 +45,7 @@ static struct tst_test test = { .test_all = run, .setup = setup, .tags = (const struct tst_tag []) { - {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see" + {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see " "https://lore.kernel.org/linux-btrfs/[email protected]/" }, {}testcases/kernel/syscalls/ustat/ustat02.c +1
-1@@ -64,7 +64,7 @@ static struct tst_test test = { .setup = setup, .tcnt = ARRAY_SIZE(tc), .tags = (const struct tst_tag []) { - {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see" + {"known-fail" ,"ustat() is known to fail with EINVAL on Btrfs, see " "https://lore.kernel.org/linux-btrfs/[email protected]/" }, {}
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp