Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (6 years ago)
Author:
bruno
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/testsuite/date/date-R-works

    r2725 r3232  
    1 dt1="`date -R`"
    2 # Wait for the start of next second
    3 dt="$dt1"
    4 while test x"$dt" = x"$dt1"; do
    5     dt="`date -R`"
    6 done
     1# When different date's use time() and clock_gettime(),
     2# seconds transition may not happen at _exactly_ the same moment.
     3# Therefore we try it several times.
    74
    8 test x"$dt" = x"`busybox date -R`"
     5test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     6test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     7test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     8test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     9test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     10test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     11test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     12test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
     13false
Note: See TracChangeset for help on using the changeset viewer.