[sheepdog-users] [PATCH stable-0.8 09/22] tests/functional: fix valgrind test

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Feb 24 08:06:57 CET 2014


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 tests/functional/common.rc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/functional/common.rc b/tests/functional/common.rc
index d5182d3..9c17248 100644
--- a/tests/functional/common.rc
+++ b/tests/functional/common.rc
@@ -255,7 +255,7 @@ _valgrind_sheep()
             --suppressions=valgrind.supp ${VALGRIND_OPTIONS}"
 
     rm -f ${dir}/lock
-    sh -c "echo y | valgrind ${opts} $SHEEP_PROG $* -f -o 2>> ${dir}/sheep.log &"
+    sh -c "echo y | valgrind ${opts} $SHEEP_PROG $* -l dst=stdout 2>> ${dir}/sheep.log &"
 
     # wait for sheep to start up
     while true; do
-- 
1.7.10.4




More information about the sheepdog-users mailing list