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:
Brad Warren
2017-06-30 11:30:21 -04:00
parent 6dedfa62b6
commit 4c19d19cf5
2 changed files with 47 additions and 17 deletions
+3 -2
View File
@@ -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 \