From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Yang Date: Mon, 18 Mar 2019 14:19:23 +0800 Subject: [LTP] [PATCH] lib/tst_test.c: fix error message for zero tcnt In-Reply-To: <20190315164215.96129-1-ebiggers@kernel.org> References: <20190315164215.96129-1-ebiggers@kernel.org> Message-ID: <5C8F386B.1090605@cn.fujitsu.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Eric, This is obviously OK, pushed. :-) Best Regards, Xiao Yang On 2019/03/16 0:42, Eric Biggers wrote: > From: Eric Biggers > > Remove the word "not". > > Signed-off-by: Eric Biggers > --- > 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()");