diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-02-20 14:39:14 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-02-21 17:08:28 +0000 |
commit | 2f2dd3a5b7af190a42d45fead6230bc1bb75483d (patch) | |
tree | 287fa5131c8bf9b9f5e4921b9ea13b9c55b5c6cf /test/runtest | |
parent | 5399df8075b16fdc8a8fe4249972c2786fe6fcab (diff) |
Allow for platforms not support abstract naming for Unix sockets
Diffstat (limited to 'test/runtest')
-rwxr-xr-x | test/runtest | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/runtest b/test/runtest index 0dc5ec967..ffa0a7112 100755 --- a/test/runtest +++ b/test/runtest @@ -1212,7 +1212,9 @@ RESET_AFTER_EXTRA_LINE_READ: next if /in\shosts_require_dane\?\sno\s\(option\sunset\)/x; # daemon notifier socket - s/^\d+ creating notifier socket$/ppppp creating notifier socket/; + s/^(creating notifier socket) .*$/$1/; + s/^(\s*\d+|ppppp) (creating notifier socket) .+$/ppppp $2/; + next if /unlinking notifier socket/; # DISABLE_OCSP next if /in hosts_requ(est|ire)_ocsp\? (no|yes)/; @@ -2330,8 +2332,7 @@ if (/^gnutls/) # The "killdaemon" command should ultimately follow the starting of any Exim -# daemon with the -bd option. We kill with SIGINT rather than SIGTERM to stop -# it outputting "Terminated" to the terminal when not in the background. +# daemon with the -bd option. if (/^killdaemon/) { @@ -2343,14 +2344,14 @@ if (/^killdaemon/) print ">> killdaemon: recovered pid $pid\n" if $debug; if ($pid) { - run_system("sudo /bin/kill -INT $pid"); + run_system("sudo /bin/kill -TERM $pid"); wait; } } else { $pid = `cat $parm_cwd/spool/exim-daemon.*`; if ($pid) { - run_system("sudo /bin/kill -INT $pid"); + run_system("sudo /bin/kill -TERM $pid"); close DAEMONCMD; # Waits for process } } |