diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-13 15:18:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-13 15:18:35 +0000 |
commit | 2742cca3d2180b4f615c40609fccf10a806f05c8 (patch) | |
tree | 7a59d0d43951cec4f0edd903f02ead3dbe037a2f /src/util/test_getopt.c | |
parent | 832d12049add37805697104b9f8eaae420eef406 (diff) | |
download | gnunet-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.c | 7 |
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 | ||
31 | static int | 30 | static int |
32 | testMinimal () | 31 | testMinimal () |
@@ -45,6 +44,7 @@ testMinimal () | |||
45 | return 0; | 44 | return 0; |
46 | } | 45 | } |
47 | 46 | ||
47 | |||
48 | static int | 48 | static int |
49 | testVerbose () | 49 | testVerbose () |
50 | { | 50 | { |
@@ -75,6 +75,7 @@ testVerbose () | |||
75 | return 0; | 75 | return 0; |
76 | } | 76 | } |
77 | 77 | ||
78 | |||
78 | static int | 79 | static int |
79 | testVersion () | 80 | testVersion () |
80 | { | 81 | { |
@@ -96,6 +97,7 @@ testVersion () | |||
96 | return 0; | 97 | return 0; |
97 | } | 98 | } |
98 | 99 | ||
100 | |||
99 | static int | 101 | static int |
100 | testAbout () | 102 | testAbout () |
101 | { | 103 | { |
@@ -117,6 +119,7 @@ testAbout () | |||
117 | return 0; | 119 | return 0; |
118 | } | 120 | } |
119 | 121 | ||
122 | |||
120 | static int | 123 | static int |
121 | testLogOpts () | 124 | testLogOpts () |
122 | { | 125 | { |
@@ -153,6 +156,7 @@ testLogOpts () | |||
153 | return 0; | 156 | return 0; |
154 | } | 157 | } |
155 | 158 | ||
159 | |||
156 | static int | 160 | static int |
157 | testFlagNum () | 161 | testFlagNum () |
158 | { | 162 | { |
@@ -190,6 +194,7 @@ testFlagNum () | |||
190 | return 0; | 194 | return 0; |
191 | } | 195 | } |
192 | 196 | ||
197 | |||
193 | int | 198 | int |
194 | main (int argc, char *argv[]) | 199 | main (int argc, char *argv[]) |
195 | { | 200 | { |