summaryrefslogtreecommitdiff
path: root/RunGrepTest
diff options
context:
space:
mode:
Diffstat (limited to 'RunGrepTest')
-rwxr-xr-xRunGrepTest2
1 files changed, 1 insertions, 1 deletions
diff --git a/RunGrepTest b/RunGrepTest
index 36f1d1b..4d514e4 100755
--- a/RunGrepTest
+++ b/RunGrepTest
@@ -763,7 +763,7 @@ $valgrind $vjs $pcre2grep -n --newline=anycrlf "^(abc|def|ghi|jkl)" testNinputgr
# doesn't.
printf '%c--------------------------- Test N7 ------------------------------\r\n' - >>testtrygrep
-Z=$(printf '\0' | sed 's/\x00/Z/g')
+Z=`printf '\0' | sed 's/\x00/Z/g'`
if [ "$Z" = "Z" ]; then
printf 'abc\0def' >testNinputgrep
$valgrind $vjs $pcre2grep -na --newline=nul "^(abc|def)" testNinputgrep | sed 's/\x00/ZERO/g' >>testtrygrep