From e82cf339e476126e4016e417aee3c6eb52c702c9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 12 May 2010 15:59:32 +0200 Subject: randomtest fixes Signed-off-by: Denys Vlasenko --- testsuite/date/date-R-works | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'testsuite/date') diff --git a/testsuite/date/date-R-works b/testsuite/date/date-R-works index 34cd735..d056344 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`" -- cgit v1.1