summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rwxr-xr-xtests/misc/date-sec2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d5704c443..7fa9809cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2006-12-03 Jim Meyering <jim@meyering.net>
+ * tests/misc/date-sec: Output a fixed string.
+
* NEWS: du --one-file-system (-x) would skip subdirectories of any
directory listed as second or subsequent command line argument.
* tests/du/one-file-system: New file. Test for today's fts.c fix.
diff --git a/tests/misc/date-sec b/tests/misc/date-sec
index 222b5cfdc..0ec5f77b7 100755
--- a/tests/misc/date-sec
+++ b/tests/misc/date-sec
@@ -56,7 +56,7 @@ case "$s" in
esac
# If necessary, wait for the system clock to pass the minute mark.
-test $n = 0 || { echo sleeping for $n seconds...; sleep $n; }
+test $n = 0 || { echo sleeping for 1-3 seconds...; sleep $n; }
s=`date --date="21:04 +0100" +%S`
case "$s" in