bug-coreutils
[Top][All Lists]
Advanced

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

Re: 'make check' fails


From: Pádraig Brady
Subject: Re: 'make check' fails
Date: Sat, 05 Dec 2009 03:10:46 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Sergei Steshenko wrote:
> Hello,
> 
> I've been running 'make check' on freshly installed SUSE-11.1, and it
> was in VirtualBox. The disk was a VirtualBox one - not a shared folder, and
> it was attached to virtual IDE controller (not SATA).
> 
> Screen output of 'make check' is attached, the failure is:
> 
> "
> FAIL: ls/readdir-mountpoint-inode (exit: 1)

> +++ dirname /file_exchange
> ++ parent_dir=/
> ++ eval 'ls -i  ...
> + readdir_inode='?'
> ++ env stat --format=%i /file_exchange
> + stat_inode=0
> + test '?' = 0
> + fail=1

Thanks for the report. It looks like this test failure was triggered by:
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=36edf7ba

I.E. there is now a mismatch between `ls -i` and `stat --format=%i`,
as ls is now doing extra validation and outputting '?' for invalid inodes,
whereas stat is blindly printing the st_ino.

Should I convert '?' to '0' in the test?
Should I modify the output from stat to match ls?

cheers,
Pádraig.




reply via email to

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