aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_getopt.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-13 15:18:35 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-13 15:18:35 +0000
commit2742cca3d2180b4f615c40609fccf10a806f05c8 (patch)
tree7a59d0d43951cec4f0edd903f02ead3dbe037a2f /src/util/test_getopt.c
parent832d12049add37805697104b9f8eaae420eef406 (diff)
downloadgnunet-2742cca3d2180b4f615c40609fccf10a806f05c8.tar.gz
gnunet-2742cca3d2180b4f615c40609fccf10a806f05c8.zip
-cleaning up VERBOSE and check nonsense in util tests
Diffstat (limited to 'src/util/test_getopt.c')
-rw-r--r--src/util/test_getopt.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/test_getopt.c b/src/util/test_getopt.c
index a517887bf..f068a6ab0 100644
--- a/src/util/test_getopt.c
+++ b/src/util/test_getopt.c
@@ -26,7 +26,6 @@
26#include "gnunet_configuration_lib.h" 26#include "gnunet_configuration_lib.h"
27#include "gnunet_getopt_lib.h" 27#include "gnunet_getopt_lib.h"
28 28
29#define VERBOSE 0
30 29
31static int 30static int
32testMinimal () 31testMinimal ()
@@ -45,6 +44,7 @@ testMinimal ()
45 return 0; 44 return 0;
46} 45}
47 46
47
48static int 48static int
49testVerbose () 49testVerbose ()
50{ 50{
@@ -75,6 +75,7 @@ testVerbose ()
75 return 0; 75 return 0;
76} 76}
77 77
78
78static int 79static int
79testVersion () 80testVersion ()
80{ 81{
@@ -96,6 +97,7 @@ testVersion ()
96 return 0; 97 return 0;
97} 98}
98 99
100
99static int 101static int
100testAbout () 102testAbout ()
101{ 103{
@@ -117,6 +119,7 @@ testAbout ()
117 return 0; 119 return 0;
118} 120}
119 121
122
120static int 123static int
121testLogOpts () 124testLogOpts ()
122{ 125{
@@ -153,6 +156,7 @@ testLogOpts ()
153 return 0; 156 return 0;
154} 157}
155 158
159
156static int 160static int
157testFlagNum () 161testFlagNum ()
158{ 162{
@@ -190,6 +194,7 @@ testFlagNum ()
190 return 0; 194 return 0;
191} 195}
192 196
197
193int 198int
194main (int argc, char *argv[]) 199main (int argc, char *argv[])
195{ 200{