aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/t-gettime.c')
-rw-r--r--common/t-gettime.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/t-gettime.c b/common/t-gettime.c
index 5cc78ff35..a4401d8ae 100644
--- a/common/t-gettime.c
+++ b/common/t-gettime.c
@@ -75,7 +75,12 @@ test_isotime2epoch (void)
{
epoch2isotime (tbuf, val);
if (strlen (tbuf) != 15)
- fail (idx);
+ {
+ if (verbose)
+ fprintf (stderr, "string `%s', time-t %ld, revert: `%s'\n",
+ array[idx].string, (long)val, tbuf);
+ fail (idx);
+ }
if (strncmp (array[idx].string, tbuf, 15))
fail (idx);
}