Bruno Haible wrote: >> > grep snapshot: >> > http://meyering.net/grep/grep-2.11.11-b00d1.tar.xz > > Some more test results: > > HP-UX 11.00: All tests passed. > > IRIX 6.5: All tests passed. > > OSF/1 5.1: All tests passed. > > Solaris 9, 10: All tests passed. > > =============================================================================== > > AIX 5.3, 7.1: > FAIL: symlink > > FAIL: symlink > ============= > > grep: e: No such file or directory > *** exp Wed Apr 11 19:01:45 2012 > --- out Wed Apr 11 19:01:45 2012 > *************** > *** 1,3 **** > --- 1,4 ---- > + Binary file d matches
Thanks. This is fixed by the following patch: >From 4554efe5991100cccd043454b1a8776c2b9a3e6a Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Thu, 12 Apr 2012 20:11:24 +0200 Subject: [PATCH] tests: avoid spurious failure of the symlink test * tests/symlink: Ignore spurious "Binary file d matches" on systems for which reading from a directory actually succeeds. Reported by Bruno Haible and Nelson Beebe. --- tests/symlink | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/symlink b/tests/symlink index 012d8f8..674666b 100755 --- a/tests/symlink +++ b/tests/symlink @@ -57,7 +57,10 @@ do esac printf "$exp" >exp || framework_failure_ - LC_ALL=C sort grepout >out || fail=1 + + # Ignore "Binary file d matches" on systems for which + # reading from a directory actually succeeds. + LC_ALL=C sort grepout|grep -v Binary >out || fail=1 compare exp out || fail=1 done done -- 1.7.10.128.g7945c
