mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:59 +02:00
Test that deploy and renew hooks are saved right
It is important that both renew and deploy hooks are saved as renew_hook in renewal configuration files to preserve forwards compatibility.
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
# the kernel to use.
|
||||
root=${root:-$(mktemp -d -t leitXXXX)}
|
||||
echo "Root integration tests directory: $root"
|
||||
store_flags="--config-dir $root/conf --work-dir $root/work"
|
||||
config_dir="$root/conf"
|
||||
store_flags="--config-dir $config_dir --work-dir $root/work"
|
||||
store_flags="$store_flags --logs-dir $root/logs"
|
||||
tls_sni_01_port=5001
|
||||
http_01_port=5002
|
||||
sources="acme/,$(ls -dm certbot*/ | tr -d ' \n')"
|
||||
export root store_flags tls_sni_01_port http_01_port sources
|
||||
export root config_dir store_flags tls_sni_01_port http_01_port sources
|
||||
|
||||
certbot_test () {
|
||||
certbot_test_no_force_renew \
|
||||
|
||||
Reference in New Issue
Block a user