bug-coreutils
[Top][All Lists]
Advanced

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

Re: GNU coreutils 6.12: tests/test-suite.log


From: Jim Meyering
Subject: Re: GNU coreutils 6.12: tests/test-suite.log
Date: Tue, 28 Oct 2008 08:44:08 +0100

"Stoddard, Isaac A" <address@hidden> wrote:
> test failure on
> Linux 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:03:28 EDT 2005 x86_64 x86_64
> x86_64 GNU/Linux

Thank you for the report.

> ==============================================
>    GNU coreutils 6.12: tests/test-suite.log
...
> FAIL: ls/stat-failed.log (exit: 1)
> ==================================
...
> + mkdir d
> + ln -s / d/s
> + chmod 600 d
> + fail=0
> + ls -Log d
> + test 2 = 1
> + fail=1

The failure is that ls is exiting with status 2 in that unusual
situation, rather than with the expected value of 1.

This is probably due to a kernel portability corner case wrt stat,
since you're using a 2.4.x series kernel.
To find out more precisely, you can do two things:

  - try the latest test release, just in case (but it probably
  won't make a difference):

      ftp://alpha.gnu.org/gnu/coreutils/coreutils-7.0.tar.gz
      ftp://alpha.gnu.org/gnu/coreutils/coreutils-7.0.tar.lzma

  - if its test fails the same way, please do the following

      cd coreutils-7.0/src
      mkdir d
      ln -s / d/s
      chmod 600 d
      strace -o strace.ls ./ls -Log d > out 2>&1

  and then send both "strace.ls" and "out" back to this list.




reply via email to

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