blob: 81378cc69d0917e1c16cdaf92d27ab5474207ab8 [file] [log] [blame] [edit]
# When different date's use time() and clock_gettime(),
# seconds transition may not happen at _exactly_ the same moment.
# Therefore we try it several times.
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
false