blob: 81378cc69d0917e1c16cdaf92d27ab5474207ab8 [file] [log] [blame]
Denys Vlasenko47b03362011-08-10 10:45:48 +02001# 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.
Denys Vlasenkoe82cf332010-05-12 15:59:32 +02004
Denys Vlasenko47b03362011-08-10 10:45:48 +02005test 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