summaryrefslogtreecommitdiff
path: root/tests/scripts/options/dash-n
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/options/dash-n')
-rw-r--r--tests/scripts/options/dash-n5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/scripts/options/dash-n b/tests/scripts/options/dash-n
index 98f1d21..35f317d 100644
--- a/tests/scripts/options/dash-n
+++ b/tests/scripts/options/dash-n
@@ -50,6 +50,11 @@ EOF
close(MAKEFILE);
&touch('b');
+# Sometimes, on my Solaris 2.5.1 box with a NetApp filesystem NFS-mounted,
+# just touching b first then a isn't good enough: the nsec field in the
+# stat result shows b is _newer_ than a once every 5 or 6 tries!!! I've
+# no idea what this is about, but that's why there's a sleep(1) here...
+sleep(1);
&touch('a');
sleep(1);
&touch('c');