Sleep until midnight if test starts after 23:55 UTC
All checks were successful
Remind unit tests / tests (push) Successful in 35s

This commit is contained in:
Dianne Skoll
2025-01-16 13:52:34 -05:00
parent 8d0743dd3e
commit 0f582ccb60

View File

@@ -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