[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Method of executing Mauve
From: |
Brian Jones |
Subject: |
Re: Method of executing Mauve |
Date: |
07 Nov 2002 00:41:54 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Andy Walter <address@hidden> writes:
> We use a simple shell script for this.
>
> The relevant part is this:
>
> #!/bin/bash
> set -m
> ${YOUR_VM} ${TEST} || echo "FAIL: execution aborted" &
> vm_pid=$!
> sleep ${TIMEOUT} && kill -kill $vm_pid 2>/dev/null && echo "Test timed out" &
> kill_pid=$!
> fg ${YOUR_VM} 2>/dev/null
> kill -kill $kill_pid 2>/dev/null && echo Test did not time out
Thanks, this seems simple enough.
Brian
--
Brian Jones <address@hidden>