On Wed, 9 Oct 2002, Andrew Clausen wrote:
> Can switching virtual machines also be [easily] automated?
while (prepare next test)
favouritevm
wait for result or timeout/crash
kill -9 `pidof favouritevm`
> The only method I can think of is TCP/IP communication saying
> things like: "move onto the next test now" and "verify that has
> no errors now", etc. I guess it's not too hard, but a bit messy.
Looks more efficent :)
favouritevm winbox
while (prepare next test)
ssh winbox mount drive
ssh winbox execute test
wait for result or timeout/crash
if (timeout/crashed)
restart favouritevm winbox
else
ssh winbox umount drive
Szaka
|