A test for this case, resend with patch. - Lauri
-- http://www.fastmail.fm - Does exactly what it says on the tin
From 3ef87baf86c51120d4bdb3ef40cdb1f9bf7508cf Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Tue, 23 Aug 2011 11:44:04 +0300 Subject: [PATCH 2/2] tests: Add a test for grep -f with empty file Signed-off-by: Lauri Kasanen <[email protected]> --- testsuite/grep.tests | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/testsuite/grep.tests b/testsuite/grep.tests index ffce033..c7f412e 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests @@ -103,4 +103,8 @@ testing "grep -o does not loop forever on zero-length match" \ "" \ "" "test\n" +> empty +testing "grep -f with an empty file" "grep -v -f empty" "test\n" "" "test\n" +rm empty + exit $FAILCOUNT -- 1.7.2.1
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
