From 8d3887effd98d4de51c61df261801671f5a94f13 Mon Sep 17 00:00:00 2001 From: kraai Date: Tue, 19 Mar 2002 23:46:16 +0000 Subject: * 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 --- testsuite/grep/grep-handles-binary-files | 3 +-- testsuite/grep/grep-matches-NUL | 3 +-- 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 . -- cgit v1.2.3-55-g6feb