diff options
Diffstat (limited to 'tools/xenstore/testsuite/test.sh')
-rwxr-xr-x | tools/xenstore/testsuite/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/testsuite/test.sh b/tools/xenstore/testsuite/test.sh index 5718e84a15..3f0055842d 100755 --- a/tools/xenstore/testsuite/test.sh +++ b/tools/xenstore/testsuite/test.sh @@ -9,7 +9,7 @@ run_test() mkdir $XENSTORED_ROOTDIR # Weird failures with this. if type valgrind >/dev/null 2>&1; then - valgrind -q --logfile-fd=3 ./xenstored_test --output-pid --no-fork 3>testsuite/tmp/vgout > /tmp/pid & + valgrind -q --logfile-fd=3 ./xenstored_test --output-pid --no-fork 3>testsuite/tmp/vgout > /tmp/pid 2> testsuite/tmp/xenstored_errors & while [ ! -s /tmp/pid ]; do sleep 0; done PID=`cat /tmp/pid` rm /tmp/pid |