On Feb 13 12:20, Juergen Beisert wrote:
> would it be possible to use 'pan' to monitoring a test? The timeout option 
> (-t) would be a nice feature to force a kill after a specified amount of time 
> to a test that might run amok (at least in my automated test environment 
> without a human operator in front of the system under test).
> But when I'm using the -t option it runs the given command n times until the 
> time is over. Is there a trick to let 'pan' run the given command only one 
> times?

Pan isn't able to do that, but collie_ can.  Use a herd file which looks
like:

<herd name="suite" scheduler="pan2">
        <test name="test">
                <cmd timeout="90">test command line here</cmd>
        </test>
</herd>

I probably should add this to the how-to guides.

Nate

.. _collie: http://fedorahosted.org/collie/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to