Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/letstest/scripts/test_renew_standalone.sh')
-rwxr-xr-xtests/letstest/scripts/test_renew_standalone.sh55
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/letstest/scripts/test_renew_standalone.sh b/tests/letstest/scripts/test_renew_standalone.sh
deleted file mode 100755
index 31c38ea46..000000000
--- a/tests/letstest/scripts/test_renew_standalone.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash -x
-
-# $OS_TYPE $PUBLIC_IP $PRIVATE_IP $PUBLIC_HOSTNAME $BOULDER_URL
-# are dynamically set at execution
-
-# run certbot-apache2 via letsencrypt-auto
-cd letsencrypt
-
-export SUDO=sudo
-if [ -f /etc/debian_version ] ; then
- echo "Bootstrapping dependencies for Debian-based OSes..."
- $SUDO bootstrap/_deb_common.sh
-elif [ -f /etc/redhat-release ] ; then
- echo "Bootstrapping dependencies for RedHat-based OSes..."
- $SUDO bootstrap/_rpm_common.sh
-else
- echo "Don't have bootstrapping for this OS!"
- exit 1
-fi
-
-bootstrap/dev/venv.sh
-sudo venv/bin/certbot certonly --debug --standalone -t --agree-dev-preview --agree-tos \
- --renew-by-default --redirect --register-unsafely-without-email \
- --domain $PUBLIC_HOSTNAME --server $BOULDER_URL -v
-if [ $? -ne 0 ] ; then
- FAIL=1
-fi
-
-if [ "$OS_TYPE" = "ubuntu" ] ; then
- venv/bin/tox -e apacheconftest
-else
- echo Not running hackish apache tests on $OS_TYPE
-fi
-
-if [ $? -ne 0 ] ; then
- FAIL=1
-fi
-
-sudo venv/bin/certbot renew --renew-by-default
-
-if [ $? -ne 0 ] ; then
- FAIL=1
-fi
-
-
-ls /etc/letsencrypt/archive/$PUBLIC_HOSTNAME | grep -q 2.pem
-
-if [ $? -ne 0 ] ; then
- FAIL=1
-fi
-
-# return error if any of the subtests failed
-if [ "$FAIL" = 1 ] ; then
- exit 1
-fi