aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-03-19 23:46:16 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-03-19 23:46:16 +0000
commit8d3887effd98d4de51c61df261801671f5a94f13 (patch)
treea606fb69e490c8ed18d3bfb4909e8970d0aa40f4
parent5229b7f9fda196751f6f0f3abd6e1736e7263841 (diff)
downloadbusybox-w32-8d3887effd98d4de51c61df261801671f5a94f13.tar.gz
busybox-w32-8d3887effd98d4de51c61df261801671f5a94f13.tar.bz2
busybox-w32-8d3887effd98d4de51c61df261801671f5a94f13.zip
* testsuite/grep/grep-handles-binary-files: Read input from a pipe.
* testsuite/grep/grep-matches-NUL: Likewise. git-svn-id: svn://busybox.net/trunk/busybox@4422 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--testsuite/grep/grep-handles-binary-files3
-rw-r--r--testsuite/grep/grep-matches-NUL3
2 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/grep/grep-handles-binary-files b/testsuite/grep/grep-handles-binary-files
index 2679add6d..edb2042e7 100644
--- a/testsuite/grep/grep-handles-binary-files
+++ b/testsuite/grep/grep-handles-binary-files
@@ -1,2 +1 @@
1echo -e '\0foo' >foo echo -e '\0foo' | busybox grep foo
2busybox grep foo foo
diff --git a/testsuite/grep/grep-matches-NUL b/testsuite/grep/grep-matches-NUL
index 04c7fd3f5..597d22cb4 100644
--- a/testsuite/grep/grep-matches-NUL
+++ b/testsuite/grep/grep-matches-NUL
@@ -1,3 +1,2 @@
1# XFAIL 1# XFAIL
2echo -e '\0' >foo 2echo -e '\0' | busybox grep .
3busybox grep . foo