X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/04403ab0b5778126d98d5c9dc8064405688129e0..e2be2df5c0760e2b6a7870c88ad486a23f5e4b01:/test/scripts/0000-Basic/0621?ds=inline 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