[Toybox] [PATCH] Fix a flaky test case in find.test.

Andy Chu andychup at gmail.com
Fri Mar 18 21:34:54 PDT 2016


There's probably a more principled way to do this, but I think it's OK
while we fix all the other tests...

-----

The -newer check was failing about once in three times on my machine.
'stat' showed that 'file' and 'link' can have the exact same timestamp,
probably due to some metadata buffering in the kernel.

Also remove the testdata cleanup, since it makes it harder to debug, and
that's the job of the harness.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-a-flaky-test-case-in-find.test.patch
Type: text/x-patch
Size: 1098 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160318/f5775cdb/attachment-0004.bin>


More information about the Toybox mailing list