3
0

date-R-works 638 B

12345678910111213
  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.
  4. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  5. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  6. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  7. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  8. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  9. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  10. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  11. test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
  12. false