diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-12 15:59:32 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-12 15:59:32 +0200 |
commit | e82cf339e476126e4016e417aee3c6eb52c702c9 (patch) | |
tree | af480d4552cb63fcf8ee28600986e9c16c7adb6a /testsuite/date/date-R-works | |
parent | a2215b98f7d65bc613b9c8f008d79672402c6a07 (diff) | |
download | busybox-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.gz |
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/date/date-R-works')
-rw-r--r-- | testsuite/date/date-R-works | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/date/date-R-works b/testsuite/date/date-R-works index 34cd735e5..d05634456 100644 --- a/testsuite/date/date-R-works +++ b/testsuite/date/date-R-works @@ -1 +1,8 @@ -test x"`date -R`" = x"`busybox date -R`" +dt1="`date -R`" +# Wait for the start of next second +dt="$dt1" +while test x"$dt" = x"$dt1"; do + dt="`date -R`" +done + +test x"$dt" = x"`busybox date -R`" |