X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1d717e1c110562fd6bf28478c79f180cafeba776..b3ce3e5440ea0ce5e3580aa9a0fa18c88214a286:/test/scripts/0000-Basic/0438 diff --git a/test/scripts/0000-Basic/0438 b/test/scripts/0000-Basic/0438 index a8287cf9f..eb6daf3d5 100644 --- a/test/scripts/0000-Basic/0438 +++ b/test/scripts/0000-Basic/0438 @@ -3,18 +3,21 @@ need_ipv4 # exim -d -DSERVER=server -bd -oX PORT_D **** +millisleep 1000 killdaemon # PID file must be DIR/spool/exim-daemon.* in order for "killdaemon" to work exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid **** +millisleep 1000 killdaemon # # Check for a SIGTERM daemon kill removing the pid file exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/mypidfile **** sleep 1 -ls DIR/spool sudo perl +system "ls DIR/spool | grep pid"; +print "\n"; open(IN, "<", "DIR/spool/mypidfile"); while () { kill "TERM", $_; } ****