]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Mon, 15 Mar 2004 09:39:02 +0000 (09:39 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 15 Mar 2004 09:39:02 +0000 (09:39 +0000)
tests/misc/date-sec

index 117c95b5002247c5c47433c29fb9146db11799f1..a0b94b10f81a5afb799f5ba33ac96a33a079f4c4 100755 (executable)
@@ -24,8 +24,13 @@ fi
 
 fail=0
 
+# It would be easier simply to sleep for two seconds between two runs
+# of `date --date="21:04 +0100" +%S` and ensure that both outputs
+# are `00', but I prefer not to sleep unconditionally.  `make check'
+# takes long enough as it is.
+
 n=0
-# Ensure that the current number of seconds is not just before `00'.
+# See if the current number of seconds is just before `00'.
 s=`date +%S`
 case "$s" in
   58) n=3;;