aboutsummaryrefslogtreecommitdiff
path: root/testsuite/date/date-R-works
blob: 81378cc69d0917e1c16cdaf92d27ab5474207ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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