X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/59371ea735c941334861aa5b8e1e9a06facf044f..d0de84b2d250e2f066286db3a3f5400a0f931b67:/test/scripts/0000-Basic/0438 diff --git a/test/scripts/0000-Basic/0438 b/test/scripts/0000-Basic/0438 index 099efba0d..28795d83a 100644 --- a/test/scripts/0000-Basic/0438 +++ b/test/scripts/0000-Basic/0438 @@ -8,3 +8,17 @@ killdaemon exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid **** 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 +sudo perl +system "ls DIR/spool | grep pid"; +print "\n"; +open(IN, "<", "DIR/spool/mypidfile"); +while () { kill "TERM", $_; } +**** +sleep 1 +ls DIR/spool +#