X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/04403ab0b5778126d98d5c9dc8064405688129e0..bec360ab3e1060187724480d109884e56f912b0a:/test/scripts/0000-Basic/0621 diff --git a/test/scripts/0000-Basic/0621 b/test/scripts/0000-Basic/0621 index 53512ade4..589c0ac4e 100644 --- a/test/scripts/0000-Basic/0621 +++ b/test/scripts/0000-Basic/0621 @@ -1,19 +1,12 @@ -# $queue_size -# -exim -bd -DSERVER=server -oX PORT_D +# daemon: re-exec on SIGHUP +exim -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.pid **** -# -exim a@test.ex +millisleep 500 +sudo perl +open(PID, "DIR/spool/exim-daemon.pid"); +chomp($daemon_pid = ); +close(PID); +system("kill -HUP $daemon_pid"); **** -exim a@test.ex -**** -exim a@test.ex -Subject: msg 3 -**** -sleep 4 -exim a@test.ex -Subject: msg 4 -**** -# +sleep 1 killdaemon -no_msglog_check