X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/44e6236daf6d9988dc66c1ce28b11fcc54d76a16..e74376d84aa63876c9a3b240513b8f38920733b7:/test/runtest?ds=inline diff --git a/test/runtest b/test/runtest index ab87ab30e..69c6931b0 100755 --- a/test/runtest +++ b/test/runtest @@ -598,7 +598,9 @@ RESET_AFTER_EXTRA_LINE_READ: # Handle only the Gnu and MacOS space, dot, plus and at-sign. A full [[:graph:]] # unfortunately matches a non-ls linefull of dashes. # Allow the case where we've already picked out the file protection bits. - s/^([-d](?:[-r][-w][-SsTtx]){3})[.+@]?( +|$)/\1 /; + if (s/^([-d](?:[-r][-w][-SsTtx]){3})[.+@]?( +|$)/\1\2/) { + s/ +/ /g; + } # ======== Message sizes ========= @@ -687,8 +689,11 @@ RESET_AFTER_EXTRA_LINE_READ: s/^\d\d\d(?=[PFS*])/ddd/; - # Lookups have a char which depends on the number of lookup types compiled in. - s%(? re-compare) +# 1 comparison failed; files may have been updated (=> re-compare) # # Does not return if the user replies "Q" to a prompt. @@ -1093,9 +1098,10 @@ if (-e $sf) print "\n"; for (;;) { - interact("Continue, Update & retry, Quit? [Q] ", $force_update); + interact("Continue, Retry, Update & retry, Quit? [Q] ", $force_update); tests_exit(1) if /^q?$/i; return 0 if /^c$/i; + return 1 if /^r$/i; last if (/^u$/i); } } @@ -1127,7 +1133,7 @@ return 1; # # Arguments: none # Returns: 0 if the output compared equal -# 1 if files were updated and the test must be re-run +# 1 if re-run needed (files may have been updated) sub check_output{ my($yield) = 0;