X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/08e7d709ca644d48b54cc731d1428c14f62710be..e8e86723959ffd4ab6d6b320538ec0e86f828798:/test/runtest?ds=sidebyside diff --git a/test/runtest b/test/runtest index 926385f17..048fc2a0b 100755 --- a/test/runtest +++ b/test/runtest @@ -994,6 +994,11 @@ RESET_AFTER_EXTRA_LINE_READ: @saved = (); } + # Skip hosts_require_dane checks when the options + # are unset, because dane ain't always there. + + next if /in\shosts_require_dane\?\sno\s\(option\sunset\)/x; + # Skip some lines that Exim puts out at the start of debugging output # because they will be different in different binaries. @@ -3353,9 +3358,20 @@ foreach $test (@test_list) undef %expected_msglogs; # Open the test's script - open(SCRIPT, "scripts/$test") || tests_exit(-1, "Failed to open \"scripts/$test\": $!"); + # Run through the script once to set variables which should be global + while (