diff --git a/scripts/_common.sh b/scripts/_common.sh index c29356c..a884fa8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -84,7 +84,7 @@ process_ips(){ # if we try to bind port 53 on a fe80:: address, AGH crashes if ! [[ "$ip" =~ ^fe80:* ]]; then # don't process if the IP is public and the port 53 closed - if is_public_ip "$ip" && [ "$open_port_53" == "false" ]; then + if is_public_ip "$ip" && [ "$expose_port_53" == "false" ]; then # don't add this IP (do nothing) : else diff --git a/tests.toml b/tests.toml index 2532af6..5bb537b 100644 --- a/tests.toml +++ b/tests.toml @@ -7,7 +7,7 @@ test_format = 1.0 # ------------------------------- # false by default -args.open_port_53 = 1 +args.expose_port_53 = 1 args.dns_over_https = 1 # ------------------------------- @@ -20,17 +20,17 @@ test_upgrade_from.c1b81566.name = "Upgrade from 0.107.43~ynh3" # additional tests suite # ------------------------------- -[open_port_53] +[expose_port_53] only = ["install.root"] -args.open_port_53 = 0 +args.expose_port_53 = 0 args.dns_over_https = 1 [open_doh_doq_ports] only = ["install.root"] -args.open_port_53 = 1 +args.expose_port_53 = 1 args.dns_over_https = 0 [open_both_port_53_and_doh_doq_ports] only = ["install.root"] -args.open_port_53 = 0 +args.expose_port_53 = 0 args.dns_over_https = 0