duplication--

This commit is contained in:
Brad Warren 2016-02-08 18:14:29 -08:00
parent 70402790a3
commit 7a902daa9f
2 changed files with 7 additions and 21 deletions

View file

@ -20,17 +20,16 @@ else
readlink="readlink"
fi
common() {
letsencrypt_test \
common_no_force_renew() {
letsencrypt_test_no_force_renew \
--authenticator standalone \
--installer null \
"$@"
}
common_no_force_renew() {
letsencrypt_test_no_force_renew \
--authenticator standalone \
--installer null \
common() {
common_no_force_renew \
--renew-by-default \
"$@"
}

View file

@ -12,21 +12,8 @@ store_flags="$store_flags --logs-dir $root/logs"
export root store_flags
letsencrypt_test () {
letsencrypt \
--server "${SERVER:-http://localhost:4000/directory}" \
--no-verify-ssl \
--tls-sni-01-port 5001 \
--http-01-port 5002 \
--manual-test-mode \
$store_flags \
--non-interactive \
--no-redirect \
--agree-tos \
--register-unsafely-without-email \
--renew-by-default \
--debug \
-vvvvvvv \
"$@"
letsencrypt_test_no_force_renew \
--renew-by-default
}
letsencrypt_test_no_force_renew () {