diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-07-02 11:33:24 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-07-02 11:33:24 +0000 |
commit | a0e968d82c3cafb60f60c7ee9c706178c8fc6beb (patch) | |
tree | 4db16c204597fa099acdf669fc478c7a32778bf4 /src/dht | |
parent | 01d888e4e6703810a8a526f626050c7d20bfcb14 (diff) | |
download | gnunet-a0e968d82c3cafb60f60c7ee9c706178c8fc6beb.tar.gz gnunet-a0e968d82c3cafb60f60c7ee9c706178c8fc6beb.zip |
valgrind tests
Diffstat (limited to 'src/dht')
-rwxr-xr-x | src/dht/test_dht_tools.sh | 4 |
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" | |||
42 | sleep 1 | 42 | sleep 1 |
43 | 43 | ||
44 | echo -n "TEST: Testing put..." | 44 | echo -n "TEST: Testing put..." |
45 | if ! $putexe -k testkey -d testdata > $out ; then | 45 | if ! 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..." | |||
56 | echo "Result 0, type 0:" > $checkout | 56 | echo "Result 0, type 0:" > $checkout |
57 | echo "testdata" >> $checkout | 57 | echo "testdata" >> $checkout |
58 | 58 | ||
59 | if ! $getexe -k testkey -T 1 > $out ; then | 59 | if ! 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 |