[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] trbo: adjust test for right/wrong future to also work at the end of December...
Holger Levsen
gitlab at salsa.debian.org
Wed Dec 30 18:54:02 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
52bb012e by Holger Levsen at 2020-12-30T19:53:50+01:00
trbo: adjust test for right/wrong future to also work at the end of December...
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_node_health_check.sh
Changes:
=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -102,7 +102,7 @@ if "$NODE_RUN_IN_THE_FUTURE"; then
echo "Warning: today $HOSTNAME came back to the present: $(date -u)."
DIRTY=true
elif [ "$year" -eq "$((real_year + 1))" ] || \
- [ "$year" -eq "$((real_year + 2))" -a "$(date +%m)" -eq 1 ]; then
+ [ "$year" -eq "$((real_year + 2))" -a "$(date +%m)" -le 2 ]; then
echo "Good, today is the right future: $(date -u)."
else
echo "Warning: today is the wrong future: $(date -u)."
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/52bb012e4f536880dcafeb9a8f6ea0fd6943c12a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/52bb012e4f536880dcafeb9a8f6ea0fd6943c12a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20201230/696dd868/attachment.html>
More information about the Qa-jenkins-scm
mailing list