aboutsummaryrefslogtreecommitdiff
path: root/testsuite/grep.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-xtestsuite/grep.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests
index d0b0d2767..e57889790 100755
--- a/testsuite/grep.tests
+++ b/testsuite/grep.tests
@@ -15,7 +15,7 @@
testing "grep (exit with error)" "grep nonexistent 2> /dev/null ; echo \$?" \
"1\n" "" ""
-testing "grep (exit success)" "grep grep $0 > /dev/null 2>&1 ; echo \$?" "0\n" \
+testing "grep (exit success)" "grep grep '$0' > /dev/null 2>&1 ; echo \$?" "0\n" \
"" ""
# Test various data sources and destinations