From: Tom Yu Date: Thu, 14 Oct 2004 21:43:29 +0000 (+0000) Subject: * t_deltat.c (main): Unadorned integer no longer fails now that we X-Git-Tag: krb5-1.4-beta1~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c356acd79026012cb17b15ad37148a017455fa75;p=krb5.git * t_deltat.c (main): Unadorned integer no longer fails now that we default to seconds. ticket: 2734 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16819 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 3967bf251..0286e5985 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2004-10-14 Tom Yu + + * t_deltat.c (main): Unadorned integer no longer fails now that we + default to seconds. + 2004-10-13 Alexandra Ellwood * deltat.c, x-deltat.y: Default to seconds if no unit is provided. diff --git a/src/lib/krb5/krb/t_deltat.c b/src/lib/krb5/krb/t_deltat.c index 4a7f83766..a07ba4232 100644 --- a/src/lib/krb5/krb/t_deltat.c +++ b/src/lib/krb5/krb/t_deltat.c @@ -70,7 +70,7 @@ main (void) /* XX We might want to require exactly two digits after a colon? */ GOOD ("3:4", 3 * HOUR + 4 * MIN), /* misc */ - BAD ("42"), + GOOD ("42", 42), BAD ("1-2"), /* Test overflow limitations */ GOOD ("2147483647s", 2147483647),