grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to grep/tests/foad1.sh,v


From: Tony Abou-Assaleh
Subject: Changes to grep/tests/foad1.sh,v
Date: Wed, 10 Oct 2007 04:29:49 +0000

CVSROOT:        /sources/grep
Module name:    grep
Changes by:     Tony Abou-Assaleh <taa> 07/10/10 04:29:48

Index: tests/foad1.sh
===================================================================
RCS file: /sources/grep/grep/tests/foad1.sh,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- tests/foad1.sh      10 Oct 2007 04:03:30 -0000      1.17
+++ tests/foad1.sh      10 Oct 2007 04:29:47 -0000      1.18
@@ -55,6 +55,13 @@
 grep_test "wA wB/" "(standard input):wA/(standard input):wB/" "w." -o -H -i
 grep_test "wA wB/" "(standard input):wA/(standard input):wB/" "w." -o -H -3 
2>/dev/null
 
+# Combination of -h and -H
+grep_test "wA wB/" "wA wB/" "w."
+grep_test "wA wB/" "wA wB/" "w." -h
+grep_test "wA wB/" "wA wB/" "w." -H -h
+grep_test "wA wB/" "(standard input):wA wB/" "w." -H
+grep_test "wA wB/" "(standard input):wA wB/" "w." -h -H
+
 # End of a previous match should not match a "start of ..." expression.
 grep_test "word_word/" "word_/" "^word_*" -o
 grep_test "wordword/" "word/" "\<word" -o




reply via email to

[Prev in Thread] Current Thread [Next in Thread]