diff options
Diffstat (limited to 'src/datacache/test_datacache.c')
-rw-r--r-- | src/datacache/test_datacache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datacache/test_datacache.c b/src/datacache/test_datacache.c index 726378aa3..ddddf0008 100644 --- a/src/datacache/test_datacache.c +++ b/src/datacache/test_datacache.c | |||
@@ -77,6 +77,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
77 | FPRINTF (stderr, | 77 | FPRINTF (stderr, |
78 | "%s", | 78 | "%s", |
79 | "Failed to initialize datacache. Database likely not setup, skipping test.\n"); | 79 | "Failed to initialize datacache. Database likely not setup, skipping test.\n"); |
80 | ok = 77; /* mark test as skipped */ | ||
80 | return; | 81 | return; |
81 | } | 82 | } |
82 | exp = GNUNET_TIME_absolute_get (); | 83 | exp = GNUNET_TIME_absolute_get (); |
@@ -140,7 +141,7 @@ main (int argc, char *argv[]) | |||
140 | plugin_name); | 141 | plugin_name); |
141 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, | 142 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, |
142 | "test-datacache", "nohelp", options, &run, NULL); | 143 | "test-datacache", "nohelp", options, &run, NULL); |
143 | if (0 != ok) | 144 | if ( (0 != ok) && (77 != ok) ) |
144 | FPRINTF (stderr, "Missed some testcases: %d\n", ok); | 145 | FPRINTF (stderr, "Missed some testcases: %d\n", ok); |
145 | return ok; | 146 | return ok; |
146 | } | 147 | } |