mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Fix test_apache2.sh on python3 only distros.
This commit is contained in:
parent
3ef6abc951
commit
054b94ae9c
1 changed files with 5 additions and 3 deletions
|
|
@ -45,8 +45,10 @@ if [ $? -ne 0 ] ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
python tools/venv.py -e acme[dev] -e .[dev,docs] -e certbot-apache
|
||||
sudo venv/bin/certbot -v --debug --text --agree-dev-preview --agree-tos \
|
||||
. tests/letstest/scripts/set_python_envvars.sh
|
||||
|
||||
"$VENV_SCRIPT" -e acme[dev] -e .[dev,docs] -e certbot-apache
|
||||
sudo "$VENV_PATH/bin/certbot" -v --debug --text --agree-dev-preview --agree-tos \
|
||||
--renew-by-default --redirect --register-unsafely-without-email \
|
||||
--domain $PUBLIC_HOSTNAME --server $BOULDER_URL
|
||||
if [ $? -ne 0 ] ; then
|
||||
|
|
@ -55,7 +57,7 @@ fi
|
|||
|
||||
if [ "$OS_TYPE" = "ubuntu" ] ; then
|
||||
export SERVER="$BOULDER_URL"
|
||||
venv/bin/tox -e apacheconftest
|
||||
"$VENV_PATH/bin/tox" -e apacheconftest
|
||||
else
|
||||
echo Not running hackish apache tests on $OS_TYPE
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue