From 0f582ccb60742bc71e14454b1f940beb726fa5f0 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Thu, 16 Jan 2025 13:52:34 -0500 Subject: [PATCH] Sleep until midnight if test starts after 23:55 UTC --- tests/test-rem | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test-rem b/tests/test-rem index 891398c8..2a4ddabe 100644 --- a/tests/test-rem +++ b/tests/test-rem @@ -41,9 +41,10 @@ RESULT=`(echo 'BANNER %'; echo 'IF now() > 23:55'; echo 'MSG late%'; echo 'ENDIF if test "$RESULT" = "late" ; then echo "" - echo "*** Please do not run the test suite between 23:55 and 00:00 UTC; it will fail." + echo "*** The test suite will fail between 23:55 and 0:00 UTC, so" + echo "*** I am going to sleep for a bit. Please be patient..." echo "" - exit 1 + sleep 301 fi # If we're already in a utf-8 locale, do