mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
update test_leauto_upgrades.sh
This commit is contained in:
parent
db5acc60da
commit
f2008be616
1 changed files with 4 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue