From a0e968d82c3cafb60f60c7ee9c706178c8fc6beb Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Fri, 2 Jul 2010 11:33:24 +0000 Subject: [PATCH] valgrind tests --- src/dht/test_dht_tools.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dht/test_dht_tools.sh b/src/dht/test_dht_tools.sh index 035107997..7a2d31c25 100755 --- a/src/dht/test_dht_tools.sh +++ b/src/dht/test_dht_tools.sh @@ -42,7 +42,7 @@ echo "PASS" sleep 1 echo -n "TEST: Testing put..." -if ! $putexe -k testkey -d testdata > $out ; then +if ! valgrind --log-file=test_put.log $putexe -k testkey -d testdata > $out ; then echo "FAIL: error running $putexe" echo "Command output was:" cat $out @@ -56,7 +56,7 @@ echo -n "TEST: Testing get..." echo "Result 0, type 0:" > $checkout echo "testdata" >> $checkout -if ! $getexe -k testkey -T 1 > $out ; then +if ! valgrind --log-file=test_get.log $getexe -k testkey -T 1 > $out ; then echo "FAIL: error running $putexe" echo "Command output was:" cat $out -- 2.25.1