bug-gnulib
[Top][All Lists]
Advanced

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

Re: coreutils-8.12.178-df9cd on Solaris 10


From: Ben Walton
Subject: Re: coreutils-8.12.178-df9cd on Solaris 10
Date: Tue, 06 Sep 2011 10:21:20 -0400
User-agent: Sup/git

Excerpts from Jim Meyering's message of Tue Sep 06 05:09:50 -0400 2011:

Hi All,

> I've confirmed that with these (though not yet with your latest irix
> fix) changes, all coreutils tests pass on both Fedora 15 and Solaris
> 10.

I found yesterday that the misc/stdbuf test fails on Solaris 9,
although I think the failure would happen on 10 as well.  The failing
part of the test is:

+ stdbuf -o1 no_such
stdbuf: failed to find `libstdbuf.so'
+ test 125 = 127
+ fail=1

After walking through the code, I think that because no_such is not in
a PATH (obviously) the default locations (. and $PKGLIBEXECDIR) are
searched unsuccessfully for libstdbuf.so.  If
$PKGLIBEXECDIR/libstdbuf.so exists (I tested this), the test passes as
expected.  The other tests pass because they are running tools that
live in the same directory as libstdbuf.so so stdbuf.c:set_LD_PRELOAD
is happy.

I think this is entirely a test bug and that the program is
functioning correctly.  A valid fix, if the previous statements are
correct would be to do something like changing no_such to
$srcdir/no_such.  This should force program_path to be $srcdir and
thus the search for libstdbuf.so would be successful.

I hope this helps.

All other tests passed for me.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302




reply via email to

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