All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] lib/tst_test.c: fix error message for zero tcnt
Date: Fri, 15 Mar 2019 09:42:15 -0700	[thread overview]
Message-ID: <20190315164215.96129-1-ebiggers@kernel.org> (raw)

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


             reply	other threads:[~2019-03-15 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-15 16:42 Eric Biggers [this message]
2019-03-18  6:19 ` [LTP] [PATCH] lib/tst_test.c: fix error message for zero tcnt Xiao Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190315164215.96129-1-ebiggers@kernel.org \
    --to=ebiggers@kernel.org \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.