Start server for test ?



Hi

I've written some tests for my shining new server - so 'Build test' has
something to do.

Yes, I use Module::Build and Test::more.

Problem is, how do I start the server as a daemon and kill it when the
client tests are run?

In production I'd just run it with

perl -MBusiness::Bof::Server::CLI -e run -- -c t/bof.xml &

and kill it when it hs lived long enough. But this doesn't work in a Build
test.

Any ideas to daemonize the server with the test in Module::Build (and store
the pid somewhere so I can kill it again)?

.



Relevant Pages

  • Re: background/SIGTERM
    ... > Can I start the server in background-mode, ... > 2) To terminate the server I curently use WRKACTJOB and then terminate ... That's because you a never ending command in your interactive session; ... you kill the job, you kill the session. ...
    (comp.sys.ibm.as400.misc)
  • Re: First Server Kill - and no loot.
    ... first kill of this mob on our server. ... Right when the last add died, we all got disconnected from the server. ... The GMs said there "must have been a mini rollback" and they cannot ... One final run, with all guild GMs playing together, the instance clones. ...
    (alt.games.warcraft)
  • Re: Disabling CTFMON.EXE on WIN2K3 Terminal Server Cluster.
    ... I simply rename CTFMON.EXE to CTFMON.OLD. ... > The last reply didnt have a link to the CTFMON.exe kill app. ... > server, but not on it's identical partner. ... >> ctfmon.exe creation events and then kills the instances. ...
    (microsoft.public.windows.terminal_services)
  • Re: Kill TCP session
    ... kill is used to kill process. ... How it's possible to kill a tcp session btw client and solaris server ... i have some tcp connexion to the application running on my solaris ...
    (comp.unix.solaris)
  • C/C++ socket send causes program to exit
    ... When I kill the client by pressing Ctrl+C, ... When the server is in the middle of a sendor writecall, ... the whole process just exits. ...
    (comp.os.linux.networking)