Denys Vlasenko | 47b0336 | 2011-08-10 10:45:48 +0200 | [diff] [blame^] | 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. |
Denys Vlasenko | e82cf33 | 2010-05-12 15:59:32 +0200 | [diff] [blame] | 4 | |
Denys Vlasenko | 47b0336 | 2011-08-10 10:45:48 +0200 | [diff] [blame^] | 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 | test x"`date -R`" = x"`busybox date -R`" && exit 0 || true |
| 13 | false |