* [LTP] [PATCH] lib/tst_test.c: fix error message for zero tcnt
@ 2019-03-15 16:42 Eric Biggers
2019-03-18 6:19 ` Xiao Yang
0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2019-03-15 16:42 UTC (permalink / raw)
To: ltp
From: Eric Biggers <ebiggers@google.com>
Remove the word "not".
Signed-off-by: Eric Biggers <ebiggers@google.com>
---
lib/tst_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tst_test.c b/lib/tst_test.c
index 7dd890b8d..ba5eab011 100644
--- a/lib/tst_test.c
+++ b/lib/tst_test.c
@@ -698,7 +698,7 @@ static void assert_test_fn(void)
tst_brk(TBROK, "You can define only one test function");
if (tst_test->test && !tst_test->tcnt)
- tst_brk(TBROK, "Number of tests (tcnt) must not be > 0");
+ tst_brk(TBROK, "Number of tests (tcnt) must be > 0");
if (!tst_test->test && tst_test->tcnt)
tst_brk(TBROK, "You can define tcnt only for test()");
--
2.21.0.360.g471c308f928-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH] lib/tst_test.c: fix error message for zero tcnt
2019-03-15 16:42 [LTP] [PATCH] lib/tst_test.c: fix error message for zero tcnt Eric Biggers
@ 2019-03-18 6:19 ` Xiao Yang
0 siblings, 0 replies; 2+ messages in thread
From: Xiao Yang @ 2019-03-18 6:19 UTC (permalink / raw)
To: ltp
Hi Eric,
This is obviously OK, pushed. :-)
Best Regards,
Xiao Yang
On 2019/03/16 0:42, Eric Biggers wrote:
> From: Eric Biggers<ebiggers@google.com>
>
> Remove the word "not".
>
> Signed-off-by: Eric Biggers<ebiggers@google.com>
> ---
> lib/tst_test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/tst_test.c b/lib/tst_test.c
> index 7dd890b8d..ba5eab011 100644
> --- a/lib/tst_test.c
> +++ b/lib/tst_test.c
> @@ -698,7 +698,7 @@ static void assert_test_fn(void)
> tst_brk(TBROK, "You can define only one test function");
>
> if (tst_test->test&& !tst_test->tcnt)
> - tst_brk(TBROK, "Number of tests (tcnt) must not be> 0");
> + tst_brk(TBROK, "Number of tests (tcnt) must be> 0");
>
> if (!tst_test->test&& tst_test->tcnt)
> tst_brk(TBROK, "You can define tcnt only for test()");
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-18 6:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-15 16:42 [LTP] [PATCH] lib/tst_test.c: fix error message for zero tcnt Eric Biggers
2019-03-18 6:19 ` Xiao Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox