Ismail Donmez wrote:
> This is a x86 glibc 2.2.5 Linux 2.6 system, coreutils 6.6 make check fails
> for
> one test:
>
> coreutils-6.6/tests/du
> cmp: EOF on out
> 4d3
> < ./c
> 6a6
> > du: `./c': Permission denied
> FAIL: inacc-dest
>
> How can I debug this further?
Thanks for the report. Please run the following to get more
information. This will trace through the test script itself.
env DEBUG=yes VERBOSE=yes make -C tests/du check TESTS=inacc-dest >log 2>&1
Looking at the test just now it looks like du was expecting to get a
permission denied failure but instead it did not. It failed by not
getting the expected failure. The 'diff' in your result shows the
difference between the test output and the expected output. The
expected output was to see the Permission denied message. Were you
root when running this test?
Here is an abbreviated form of that test.
mkdir f
cd f
mkdir a b c d e
touch c/j
chmod a-x c
du
On my system I get:
du
0 ./a
0 ./b
du: `./c': Permission denied
0 ./d
0 ./e
0 .
What does this do on your system?
Bob
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils