diff options
author | Denys Vlasenko | 2011-08-10 00:51:29 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-08-10 00:51:29 +0200 |
commit | b47b3ce1bd651c689fae3cac2760f43f453e2b6e (patch) | |
tree | 792a1710799fbf57c66fa51a642ae6d5074640c5 /testsuite/date | |
parent | b347df91317ca05910e930c94fdba30baf9e2de8 (diff) | |
download | busybox-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.zip busybox-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.tar.gz |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/date')
-rw-r--r-- | testsuite/date/date-R-works | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/testsuite/date/date-R-works b/testsuite/date/date-R-works index d056344..12f9b96 100644 --- a/testsuite/date/date-R-works +++ b/testsuite/date/date-R-works @@ -5,4 +5,17 @@ while test x"$dt" = x"$dt1"; do dt="`date -R`" done -test x"$dt" = x"`busybox date -R`" +bdt=`busybox date -R` +bdt=`busybox date -R` +bdt=`busybox date -R` +bdt=`busybox date -R` +bdt=`busybox date -R` + +# Wtih !FEATURE_DATE_NANO, that is, with time() +# instead of clock_gettime(), seconds transition +# may not happen at _exactly_ the same moment, +# but can be delayed. Several busybox date -R +# invocations above are meant to deal with this. +# (two were enough for me, but I added more just in case). + +test x"$dt" = x"$bdt" |