aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_getopt.c')
-rw-r--r--src/util/test_getopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_getopt.c b/src/util/test_getopt.c
index f068a6ab0..65c3b5d2e 100644
--- a/src/util/test_getopt.c
+++ b/src/util/test_getopt.c
@@ -89,7 +89,7 @@ testVersion ()
89 GNUNET_GETOPT_OPTION_END 89 GNUNET_GETOPT_OPTION_END
90 }; 90 };
91 91
92 if (-1 != GNUNET_GETOPT_run ("test_getopt", versionoptionlist, 2, myargv)) 92 if (0 != GNUNET_GETOPT_run ("test_getopt", versionoptionlist, 2, myargv))
93 { 93 {
94 GNUNET_break (0); 94 GNUNET_break (0);
95 return 1; 95 return 1;
@@ -111,7 +111,7 @@ testAbout ()
111 GNUNET_GETOPT_OPTION_END 111 GNUNET_GETOPT_OPTION_END
112 }; 112 };
113 113
114 if (-1 != GNUNET_GETOPT_run ("test_getopt", aboutoptionlist, 2, myargv)) 114 if (0 != GNUNET_GETOPT_run ("test_getopt", aboutoptionlist, 2, myargv))
115 { 115 {
116 GNUNET_break (0); 116 GNUNET_break (0);
117 return 1; 117 return 1;