mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
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>
This commit is contained in:
1 parent
c5a8d2c78b
commit
879b63b37c
1 file changed
+4
-1
@@ -14,7 +14,10 @@ run_test()
|
||||
PID=`cat /tmp/pid`
|
||||
rm /tmp/pid
|
||||
else
|
||||
PID=`./xenstored_test --output-pid`
|
||||
./xenstored_test --output-pid --trace-file=testsuite/tmp/trace --no-fork > /tmp/pid 2> testsuite/tmp/xenstored_errors &
|
||||
while [ ! -s /tmp/pid ]; do sleep 0; done
|
||||
PID=`cat /tmp/pid`
|
||||
rm /tmp/pid
|
||||
fi
|
||||
if sh -e $2 $1; then
|
||||
if [ -s testsuite/tmp/vgout ]; then
|
||||
|
||||