bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep-2.9.69-f91c on OSF/1


From: Bruno Haible
Subject: Re: grep-2.9.69-f91c on OSF/1
Date: Sat, 12 Nov 2011 00:58:59 +0100
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

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  <address@hidden>

        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

[Prev in Thread] Current Thread [Next in Thread]