aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-07-02 11:33:24 +0000
committerNathan S. Evans <evans@in.tum.de>2010-07-02 11:33:24 +0000
commita0e968d82c3cafb60f60c7ee9c706178c8fc6beb (patch)
tree4db16c204597fa099acdf669fc478c7a32778bf4 /src/dht
parent01d888e4e6703810a8a526f626050c7d20bfcb14 (diff)
downloadgnunet-a0e968d82c3cafb60f60c7ee9c706178c8fc6beb.tar.gz
gnunet-a0e968d82c3cafb60f60c7ee9c706178c8fc6beb.zip
valgrind tests
Diffstat (limited to 'src/dht')
-rwxr-xr-xsrc/dht/test_dht_tools.sh4
1 files 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"
42sleep 1 42sleep 1
43 43
44echo -n "TEST: Testing put..." 44echo -n "TEST: Testing put..."
45if ! $putexe -k testkey -d testdata > $out ; then 45if ! valgrind --log-file=test_put.log $putexe -k testkey -d testdata > $out ; then
46 echo "FAIL: error running $putexe" 46 echo "FAIL: error running $putexe"
47 echo "Command output was:" 47 echo "Command output was:"
48 cat $out 48 cat $out
@@ -56,7 +56,7 @@ echo -n "TEST: Testing get..."
56echo "Result 0, type 0:" > $checkout 56echo "Result 0, type 0:" > $checkout
57echo "testdata" >> $checkout 57echo "testdata" >> $checkout
58 58
59if ! $getexe -k testkey -T 1 > $out ; then 59if ! valgrind --log-file=test_get.log $getexe -k testkey -T 1 > $out ; then
60 echo "FAIL: error running $putexe" 60 echo "FAIL: error running $putexe"
61 echo "Command output was:" 61 echo "Command output was:"
62 cat $out 62 cat $out