aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/grep.tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests
index bb682dba4..4703ae50b 100755
--- a/testsuite/grep.tests
+++ b/testsuite/grep.tests
@@ -26,7 +26,9 @@ testing "grep - (specify stdin)" "grep two -" "two\n" "" \
26testing "grep input (specify file)" "grep two input" "two\n" \ 26testing "grep input (specify file)" "grep two input" "two\n" \
27 "one\ntwo\nthree\nthree\nthree\n" "" 27 "one\ntwo\nthree\nthree\nthree\n" ""
28 28
29testing "grep (no newline at EOL)" "grep bug" "bug" "bug" "" 29# GNU grep (version?) outputs a new line character after the located string
30# even if there is no new line character in the input
31testing "grep (no newline at EOL)" "grep bug input" "bug\n" "bug" ""
30 32
31>empty 33>empty
32testing "grep two files" "grep two input empty 2>/dev/null" \ 34testing "grep two files" "grep two input empty 2>/dev/null" \