From b6af199729c97aea84d1bf22f6322e0091236f71 Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Wed, 22 Aug 2018 13:22:53 +0200 Subject: [PATCH] Updates to standalone cert test unit --- test/tests/certs_standalone/run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/tests/certs_standalone/run.sh b/test/tests/certs_standalone/run.sh index 1edb0687..0b680fc7 100755 --- a/test/tests/certs_standalone/run.sh +++ b/test/tests/certs_standalone/run.sh @@ -33,6 +33,9 @@ else echo "Domain ${domains[0]} did not appear on certificate." fi +docker exec "$le_container_name" bash -c "[[ -f /etc/nginx/conf.d/standalone-cert-${domains[0]}.conf ]]" \ + && echo "Standalone configuration for ${domains[0]} wasn't correctly removed." + # Add another (SAN) certificate to letsencrypt_user_data cat > ${TRAVIS_BUILD_DIR}/test/tests/certs_standalone/letsencrypt_user_data < /dev/null