aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-03 19:17:51 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-03 19:17:51 +0000
commitcaf55e853e89c15f0927f2da9091bc91a101b386 (patch)
tree2ceae255a13d1c102b30c43c718b711b9e89a81c /src
parente37d143f05efec8723dd4ea6164c2b6a8735d69e (diff)
downloadgnunet-caf55e853e89c15f0927f2da9091bc91a101b386.tar.gz
gnunet-caf55e853e89c15f0927f2da9091bc91a101b386.zip
-misc minor fixes
Diffstat (limited to 'src')
-rw-r--r--src/dht/Makefile.am2
-rw-r--r--src/hostlist/test_hostlist_defaults.conf3
-rw-r--r--src/peerinfo-tool/test_gnunet_peerinfo_data.conf4
-rw-r--r--src/statistics/test_gnunet_statistics.py.in5
-rw-r--r--src/util/test_crypto_ecc.c1
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 = \
155test_dht_twopeer_SOURCES = \ 155test_dht_twopeer_SOURCES = \
156 test_dht_topo.c 156 test_dht_topo.c
157test_dht_twopeer_LDADD = \ 157test_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]
67AUTOSTART = NO 67AUTOSTART = NO
68
69[nat]
70RETURN_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]
33AUTOSTART = NO 33AUTOSTART = NO
34 34
35[nat]
36RETURN_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
77cleanup () 76cleanup ()
@@ -81,10 +80,9 @@ t = r_arm (['-s'], want_stdo = False)
81time.sleep (1) 80time.sleep (1)
82t = r_arm (['-i', 'statistics'], want_stdo = False) 81t = r_arm (['-i', 'statistics'], want_stdo = False)
83time.sleep (1) 82time.sleep (1)
84print ("DONE")
85 83
86print ("TEST: Bad argument checking...", end='') 84print ("TEST: Bad argument checking...", end='')
87r_st (['-x'], normal = False, nofail = True, want_stdo = False) 85r_st (['-x'], normal = False, nofail = True, want_stdo = False, want_stde = True)
88print ("PASS") 86print ("PASS")
89 87
90print ("TEST: Set value...", end='') 88print ("TEST: Set value...", end='')
@@ -146,6 +144,5 @@ print ("PASS")
146print ("Stopping service...") 144print ("Stopping service...")
147t = r_arm (['-e'], want_stdo = False) 145t = r_arm (['-e'], want_stdo = False)
148time.sleep (1) 146time.sleep (1)
149print ("DONE")
150 147
151cleanup () 148cleanup ()
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)