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

filesystem resolution vs. mksh testsuite?



Hi,

src:mksh just FTBFS on hurd-i386 (the failure reason given by
the buildd admin is incorrect, though). The problem is:

:>a
sleep 1
:>b
sleep 1
:>a
test a -nt b; a=$?
test b -nt a; b=$?
test a -ot b; c=$?
test b -ot a; d=$?
echo d $a $b $c $d .

This is supposed to give:

d 0 1 1 0 .

On the buildd, it gives:

d 1 0 0 1 .

Is there anything about the Hurd I should know wrt. this test?

The -nt and -ot first stat both files, then compare st_mtime,
and if that is equal they compare st_mtim.tv_nsec even.

Thanks in advance,
//mirabilos
--  
When he found out that the m68k port was in a pretty bad shape, he did
not, like many before him, shrug and move on; instead, he took it upon
himself to start compiling things, just so he could compile his shell.
How's that for dedication. -- Wouter, about my Debian/m68k revival


Reply to: