diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-03 19:17:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-03 19:17:51 +0000 |
commit | caf55e853e89c15f0927f2da9091bc91a101b386 (patch) | |
tree | 2ceae255a13d1c102b30c43c718b711b9e89a81c /src | |
parent | e37d143f05efec8723dd4ea6164c2b6a8735d69e (diff) | |
download | gnunet-caf55e853e89c15f0927f2da9091bc91a101b386.tar.gz gnunet-caf55e853e89c15f0927f2da9091bc91a101b386.zip |
-misc minor fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/dht/Makefile.am | 2 | ||||
-rw-r--r-- | src/hostlist/test_hostlist_defaults.conf | 3 | ||||
-rw-r--r-- | src/peerinfo-tool/test_gnunet_peerinfo_data.conf | 4 | ||||
-rw-r--r-- | src/statistics/test_gnunet_statistics.py.in | 5 | ||||
-rw-r--r-- | src/util/test_crypto_ecc.c | 1 |
5 files changed, 10 insertions, 5 deletions
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index 5e85b42ed..9b4bfc168 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am | |||
@@ -155,8 +155,8 @@ test_dht_api_DEPENDENCIES = \ | |||
155 | test_dht_twopeer_SOURCES = \ | 155 | test_dht_twopeer_SOURCES = \ |
156 | test_dht_topo.c | 156 | test_dht_topo.c |
157 | test_dht_twopeer_LDADD = \ | 157 | test_dht_twopeer_LDADD = \ |
158 | $(top_builddir)/src/dht/libgnunetdhttest.a \ | ||
158 | $(top_builddir)/src/util/libgnunetutil.la \ | 159 | $(top_builddir)/src/util/libgnunetutil.la \ |
159 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ | ||
160 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | 160 | $(top_builddir)/src/testbed/libgnunettestbed.la \ |
161 | $(top_builddir)/src/dht/libgnunetdhttest.a \ | 161 | $(top_builddir)/src/dht/libgnunetdhttest.a \ |
162 | $(top_builddir)/src/dht/libgnunetdht.la | 162 | $(top_builddir)/src/dht/libgnunetdht.la |
diff --git a/src/hostlist/test_hostlist_defaults.conf b/src/hostlist/test_hostlist_defaults.conf index c7ef8ea0f..d7383005c 100644 --- a/src/hostlist/test_hostlist_defaults.conf +++ b/src/hostlist/test_hostlist_defaults.conf | |||
@@ -65,3 +65,6 @@ AUTOSTART = NO | |||
65 | 65 | ||
66 | [lockmanager] | 66 | [lockmanager] |
67 | AUTOSTART = NO | 67 | AUTOSTART = NO |
68 | |||
69 | [nat] | ||
70 | RETURN_LOCAL_ADDRESSES = YES \ No newline at end of file | ||
diff --git a/src/peerinfo-tool/test_gnunet_peerinfo_data.conf b/src/peerinfo-tool/test_gnunet_peerinfo_data.conf index 843dc983a..a4c16ac16 100644 --- a/src/peerinfo-tool/test_gnunet_peerinfo_data.conf +++ b/src/peerinfo-tool/test_gnunet_peerinfo_data.conf | |||
@@ -32,4 +32,8 @@ AUTOSTART = NO | |||
32 | [nse] | 32 | [nse] |
33 | AUTOSTART = NO | 33 | AUTOSTART = NO |
34 | 34 | ||
35 | [nat] | ||
36 | RETURN_LOCAL_ADDRESSES = YES | ||
37 | |||
38 | |||
35 | 39 | ||
diff --git a/src/statistics/test_gnunet_statistics.py.in b/src/statistics/test_gnunet_statistics.py.in index b5697d246..0d3c984eb 100644 --- a/src/statistics/test_gnunet_statistics.py.in +++ b/src/statistics/test_gnunet_statistics.py.in | |||
@@ -71,7 +71,6 @@ def restart (): | |||
71 | time.sleep (1) | 71 | time.sleep (1) |
72 | t = r_arm (['-i', 'statistics']) | 72 | t = r_arm (['-i', 'statistics']) |
73 | time.sleep (1) | 73 | time.sleep (1) |
74 | print ("DONE") | ||
75 | 74 | ||
76 | 75 | ||
77 | cleanup () | 76 | cleanup () |
@@ -81,10 +80,9 @@ t = r_arm (['-s'], want_stdo = False) | |||
81 | time.sleep (1) | 80 | time.sleep (1) |
82 | t = r_arm (['-i', 'statistics'], want_stdo = False) | 81 | t = r_arm (['-i', 'statistics'], want_stdo = False) |
83 | time.sleep (1) | 82 | time.sleep (1) |
84 | print ("DONE") | ||
85 | 83 | ||
86 | print ("TEST: Bad argument checking...", end='') | 84 | print ("TEST: Bad argument checking...", end='') |
87 | r_st (['-x'], normal = False, nofail = True, want_stdo = False) | 85 | r_st (['-x'], normal = False, nofail = True, want_stdo = False, want_stde = True) |
88 | print ("PASS") | 86 | print ("PASS") |
89 | 87 | ||
90 | print ("TEST: Set value...", end='') | 88 | print ("TEST: Set value...", end='') |
@@ -146,6 +144,5 @@ print ("PASS") | |||
146 | print ("Stopping service...") | 144 | print ("Stopping service...") |
147 | t = r_arm (['-e'], want_stdo = False) | 145 | t = r_arm (['-e'], want_stdo = False) |
148 | time.sleep (1) | 146 | time.sleep (1) |
149 | print ("DONE") | ||
150 | 147 | ||
151 | cleanup () | 148 | cleanup () |
diff --git a/src/util/test_crypto_ecc.c b/src/util/test_crypto_ecc.c index 14794a34d..d8329a0ae 100644 --- a/src/util/test_crypto_ecc.c +++ b/src/util/test_crypto_ecc.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "gnunet_common.h" | 27 | #include "gnunet_common.h" |
28 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_signatures.h" | 29 | #include "gnunet_signatures.h" |
30 | #include <gcrypt.h> | ||
30 | 31 | ||
31 | #define TESTSTRING "Hello World\0" | 32 | #define TESTSTRING "Hello World\0" |
32 | #define MAX_TESTVAL sizeof(struct GNUNET_CRYPTO_AesSessionKey) | 33 | #define MAX_TESTVAL sizeof(struct GNUNET_CRYPTO_AesSessionKey) |