From: Nathan S. Evans Date: Fri, 2 Jul 2010 11:33:24 +0000 (+0000) Subject: valgrind tests X-Git-Tag: initial-import-from-subversion-38251~21078 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a0e968d82c3cafb60f60c7ee9c706178c8fc6beb;p=oweals%2Fgnunet.git valgrind tests --- 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