Add test for #5387

This commit is contained in:
Brad Warren 2018-01-08 15:16:32 -08:00
parent 0f88348288
commit c98fa0e1f9

View file

@ -47,6 +47,12 @@ if [ $RESULT -eq 0 ]; then
exit 1
fi
# Skip self upgrade due to LE_PYTHON value
if ! LE_PYTHON=nonexistant certbot/letsencrypt-auto-source/letsencrypt-auto 2>&1 | grep -q "WARNING: couldn't find Python"; then
echo "Python upgrade failure warning not printed!"
exit 1
fi
# bootstrap, this time installing python3
certbot/letsencrypt-auto-source/letsencrypt-auto --no-self-upgrade -n > /dev/null 2> /dev/null