aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-03-11 13:46:36 -0500
committerRob Landley <rob@landley.net>2019-03-11 13:46:36 -0500
commitf2ac205b97fc00c496a67dee1c28e844b96dbd83 (patch)
tree7198c2defbfa26caff004a064c96b483e6ba3224 /tests
parent677cd8cea214ef73bbbed965580575c9abaa048e (diff)
downloadtoybox-f2ac205b97fc00c496a67dee1c28e844b96dbd83.tar.gz
I've hit a test failure twice where find -newer didn't because the timestamps
were identical, so add a small delay.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/find.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/find.test b/tests/find.test
index 7f2e6921..de48c5c8 100755
--- a/tests/find.test
+++ b/tests/find.test
@@ -6,6 +6,8 @@ mkdir dir
cd dir
touch file
mkfifo fifo
+# fs timestamp granularity isn't always enough for -newer to tell, so wait
+sleep .1
ln -s fifo link
cd ..
touch b