ia64/xen-unstable

changeset 5991:a2f9f958fb14

Fix up non-valgrind case to send stderr to file like valgrind case does.
(Having trouble with signal delivery and valgrind, causing spurious test
timeouts)
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue Aug 02 17:59:59 2005 +0000 (2005-08-02)
parents f9a8f24dac67
children a05338d886d9
files tools/xenstore/testsuite/test.sh
line diff
     1.1 --- a/tools/xenstore/testsuite/test.sh	Tue Aug 02 17:59:20 2005 +0000
     1.2 +++ b/tools/xenstore/testsuite/test.sh	Tue Aug 02 17:59:59 2005 +0000
     1.3 @@ -14,7 +14,10 @@ run_test()
     1.4  	PID=`cat /tmp/pid`
     1.5  	rm /tmp/pid
     1.6      else
     1.7 -	PID=`./xenstored_test --output-pid`
     1.8 +	./xenstored_test --output-pid --trace-file=testsuite/tmp/trace --no-fork > /tmp/pid 2> testsuite/tmp/xenstored_errors &
     1.9 +	while [ ! -s /tmp/pid ]; do sleep 0; done
    1.10 +	PID=`cat /tmp/pid`
    1.11 +	rm /tmp/pid
    1.12      fi
    1.13      if sh -e $2 $1; then
    1.14  	if [ -s testsuite/tmp/vgout ]; then