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
+5 -6
View File
@@ -20,17 +20,16 @@ else
readlink="readlink" readlink="readlink"
fi fi
common() { common_no_force_renew() {
letsencrypt_test \ letsencrypt_test_no_force_renew \
--authenticator standalone \ --authenticator standalone \
--installer null \ --installer null \
"$@" "$@"
} }
common_no_force_renew() { common() {
letsencrypt_test_no_force_renew \ common_no_force_renew \
--authenticator standalone \ --renew-by-default \
--installer null \
"$@" "$@"
} }
+2 -15
View File
@@ -12,21 +12,8 @@ store_flags="$store_flags --logs-dir $root/logs"
export root store_flags export root store_flags
letsencrypt_test () { letsencrypt_test () {
letsencrypt \ letsencrypt_test_no_force_renew \
--server "${SERVER:-http://localhost:4000/directory}" \ --renew-by-default
--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 () { letsencrypt_test_no_force_renew () {