mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Add test for #5387
This commit is contained in:
parent
0f88348288
commit
c98fa0e1f9
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue