summaryrefslogtreecommitdiff
path: root/testsuite/grep
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/grep')
-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 2679add..edb2042 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 04c7fd3..597d22c 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 .