diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-10-06 09:55:35 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-10-06 09:55:35 +0000 |
commit | 7671f5631189a466fe35ebaeeffb8312ab696794 (patch) | |
tree | 2c2dbcfe10fd083778f2831f60ea47a7b7f244b2 /src/dht/test_dht_tools.sh | |
parent | a66550732703fa7e88bc86b042e73c0add3e91a0 (diff) | |
download | gnunet-7671f5631189a466fe35ebaeeffb8312ab696794.tar.gz gnunet-7671f5631189a466fe35ebaeeffb8312ab696794.zip |
test case fix, dht bugfix
Diffstat (limited to 'src/dht/test_dht_tools.sh')
-rwxr-xr-x | src/dht/test_dht_tools.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dht/test_dht_tools.sh b/src/dht/test_dht_tools.sh index b22084ebb..68c0613a4 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 -T 8 > $out ; then | 45 | if ! $putexe -k testkey -d testdata -t 8 > $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 |
@@ -53,10 +53,10 @@ echo "PASS" | |||
53 | sleep 1 | 53 | sleep 1 |
54 | 54 | ||
55 | echo -n "TEST: Testing get..." | 55 | echo -n "TEST: Testing get..." |
56 | echo "Result 0, type 0:" > $checkout | 56 | echo "Result 0, type 8:" > $checkout |
57 | echo "testdata" >> $checkout | 57 | echo "testdata" >> $checkout |
58 | 58 | ||
59 | if ! $getexe -k testkey -T 8 > $out ; then | 59 | if ! $getexe -k testkey -T 5 -t 8 > $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 |