update test_leauto_upgrades.sh

This commit is contained in:
Brad Warren 2021-03-05 12:48:44 -08:00
parent db5acc60da
commit f2008be616

View file

@ -153,17 +153,8 @@ if ! ./letsencrypt-auto -v --debug --version 2>&1 | grep "will no longer receive
exit 1
fi
# Finally, we check if our local server received more requests. Over time,
# we'll move more and more OSes into this case until it this is the expected
# behavior on all systems.
if [ -f /etc/redhat-release ]; then
if ! diff "$LOG_FILE" "$PREVIOUS_LOG_FILE" ; then
echo our local server received unexpected requests
exit 1
fi
else
if diff "$LOG_FILE" "$PREVIOUS_LOG_FILE" ; then
echo our local server did not receive the requests we expected
exit 1
fi
# Finally, we check if our local server received more requests.
if ! diff "$LOG_FILE" "$PREVIOUS_LOG_FILE" ; then
echo our local server received unexpected requests
exit 1
fi