aboutsummaryrefslogtreecommitdiff
path: root/testsuite/date
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-08-10 00:51:29 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-08-10 00:51:29 +0200
commitb47b3ce1bd651c689fae3cac2760f43f453e2b6e (patch)
tree792a1710799fbf57c66fa51a642ae6d5074640c5 /testsuite/date
parentb347df91317ca05910e930c94fdba30baf9e2de8 (diff)
downloadbusybox-w32-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.tar.gz
busybox-w32-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.tar.bz2
busybox-w32-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.zip
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/date')
-rw-r--r--testsuite/date/date-R-works15
1 files changed, 14 insertions, 1 deletions
diff --git a/testsuite/date/date-R-works b/testsuite/date/date-R-works
index d05634456..12f9b96ed 100644
--- a/testsuite/date/date-R-works
+++ b/testsuite/date/date-R-works
@@ -5,4 +5,17 @@ while test x"$dt" = x"$dt1"; do
5 dt="`date -R`" 5 dt="`date -R`"
6done 6done
7 7
8test x"$dt" = x"`busybox date -R`" 8bdt=`busybox date -R`
9bdt=`busybox date -R`
10bdt=`busybox date -R`
11bdt=`busybox date -R`
12bdt=`busybox date -R`
13
14# Wtih !FEATURE_DATE_NANO, that is, with time()
15# instead of clock_gettime(), seconds transition
16# may not happen at _exactly_ the same moment,
17# but can be delayed. Several busybox date -R
18# invocations above are meant to deal with this.
19# (two were enough for me, but I added more just in case).
20
21test x"$dt" = x"$bdt"