$OpenBSD: patch-RunGrepTest,v 1.1 2019/02/03 22:40:38 jca Exp $

Our sed(1) doesn't cope with NUL bytes and \x00-style notation.

Index: RunGrepTest
--- RunGrepTest.orig
+++ RunGrepTest
@@ -723,7 +723,7 @@ printf '%c--------------------------- Test N7 --------
 uname=`uname`
 if [ "$uname" != "SunOS" -a "$uname" != "Darwin" ] ; then
   printf 'abc\0def' >testNinputgrep
-  $valgrind $vjs $pcre2grep -na --newline=nul "^(abc|def)" testNinputgrep | sed 's/\x00/ZERO/' >>testtrygrep
+  $valgrind $vjs $pcre2grep -na --newline=nul "^(abc|def)" testNinputgrep | gsed 's/\x00/ZERO/' >>testtrygrep
   echo "" >>testtrygrep
 else
   echo '1:abcZERO2:def' >>testtrygrep
