mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Sleep until midnight if test starts after 23:55 UTC
All checks were successful
Remind unit tests / tests (push) Successful in 35s
All checks were successful
Remind unit tests / tests (push) Successful in 35s
This commit is contained in:
@@ -41,9 +41,10 @@ RESULT=`(echo 'BANNER %'; echo 'IF now() > 23:55'; echo 'MSG late%'; echo 'ENDIF
|
|||||||
|
|
||||||
if test "$RESULT" = "late" ; then
|
if test "$RESULT" = "late" ; then
|
||||||
echo ""
|
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 ""
|
echo ""
|
||||||
exit 1
|
sleep 301
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If we're already in a utf-8 locale, do
|
# If we're already in a utf-8 locale, do
|
||||||
|
|||||||
Reference in New Issue
Block a user