[sheepdog] [PATCH 4/6] tests: append log outputs instead of overwriting

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Sep 19 06:25:43 CEST 2012


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 tests/common.rc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/common.rc b/tests/common.rc
index 99b31c4..71134bf 100644
--- a/tests/common.rc
+++ b/tests/common.rc
@@ -175,7 +175,7 @@ _valgrind_sheep()
             echo \"core dumped ($1/core)\"; kill \$PPID"
     opts="--db-attach=yes --db-command='${db_cmd}' --suppressions=valgrind.supp"
 
-    sh -c "echo y | valgrind ${opts} $SHEEP_PROG $@ -f -o 2> $1/sheep.log &"
+    sh -c "echo y | valgrind ${opts} $SHEEP_PROG $@ -f -o 2>> $1/sheep.log &"
 
     # wait for sheep to start up
     while true; do
-- 
1.7.2.5




More information about the sheepdog mailing list