aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2002-03-19 23:46:16 +0000
committerMatt Kraai <kraai@debian.org>2002-03-19 23:46:16 +0000
commitb3de66869b0300a614a4e9535fd90771ab970816 (patch)
treea606fb69e490c8ed18d3bfb4909e8970d0aa40f4 /testsuite
parent0efab3319dddf1cf308e7476b7cd28f350faa917 (diff)
downloadbusybox-b3de66869b0300a614a4e9535fd90771ab970816.tar.gz
* testsuite/grep/grep-handles-binary-files: Read input from a pipe.
* testsuite/grep/grep-matches-NUL: Likewise.
Diffstat (limited to 'testsuite')
-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 @@
-echo -e '\0foo' >foo
-busybox grep foo foo
+echo -e '\0foo' | busybox grep 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 @@
# XFAIL
-echo -e '\0' >foo
-busybox grep . foo
+echo -e '\0' | busybox grep .