diff options
Diffstat (limited to 'src/util/test_strings.c')
-rw-r--r-- | src/util/test_strings.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/test_strings.c b/src/util/test_strings.c index 26ca5dc6a..839b81c04 100644 --- a/src/util/test_strings.c +++ b/src/util/test_strings.c | |||
@@ -106,6 +106,12 @@ main (int argc, char *argv[]) | |||
106 | GNUNET_STRINGS_fancy_time_to_absolute (bc, &atx)); | 106 | GNUNET_STRINGS_fancy_time_to_absolute (bc, &atx)); |
107 | GNUNET_assert (atx.abs_value_us == at.abs_value_us); | 107 | GNUNET_assert (atx.abs_value_us == at.abs_value_us); |
108 | 108 | ||
109 | at.abs_value_us = 50000000000; | ||
110 | bc = GNUNET_STRINGS_absolute_time_to_string (at); | ||
111 | GNUNET_assert (GNUNET_OK == | ||
112 | GNUNET_STRINGS_fancy_time_to_absolute (bc, &atx)); | ||
113 | GNUNET_assert (atx.abs_value_us == at.abs_value_us); | ||
114 | |||
109 | GNUNET_log_skip (2, GNUNET_NO); | 115 | GNUNET_log_skip (2, GNUNET_NO); |
110 | b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "unknown"); | 116 | b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "unknown"); |
111 | GNUNET_log_skip (0, GNUNET_YES); | 117 | GNUNET_log_skip (0, GNUNET_YES); |