Eric Blake wrote:
> The grep test framework is borrowing
> from gnulib's tests/init.sh, which should already be re-exec'ing under a
> shell that supports $().

Ah, right. Here's a simpler patch then.


2011-11-11  Bruno Haible  <[email protected]>

        Fix high-bit-range test failure on OSF/1 5.1.
        * tests/high-bit-range: Use octal escape instead of hexadecimal escape
        sequence.

--- grep-2.9.69-f91c/tests/high-bit-range       2011-09-10 09:17:04.000000000 
+0200
+++ grep-2.9.69-f91c/tests/high-bit-range       2011-11-12 00:53:00.000000000 
+0100
@@ -20,8 +20,8 @@
 
 fail=0
 
-printf '\x81\n' > in || framework_failure_
-grep "$(printf '[\x81]')" in > out || fail=1
+printf '\201\n' > in || framework_failure_
+grep "$(printf '[\201]')" in > out || fail=1
 
 compare out in || fail=1
 
-- 
In memoriam Jan Opletal <http://en.wikipedia.org/wiki/Jan_Opletal>

Reply via email to