diff mbox series

lib/tst_test.c: fix error message for zero tcnt

Message ID 20190315164215.96129-1-ebiggers@kernel.org
State Accepted
Headers show
Series lib/tst_test.c: fix error message for zero tcnt | expand

Commit Message

Eric Biggers March 15, 2019, 4:42 p.m. UTC
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(-)

Comments

Xiao Yang March 18, 2019, 6:19 a.m. UTC | #1
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()");
diff mbox series

Patch

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()");