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:
cl349@firebug.cl.cam.ac.uk committed 2005-08-02 17:59:59 +00:00
1 parent c5a8d2c78b
commit 879b63b37c
1 file changed
+4 -1
+4 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.