From c356acd79026012cb17b15ad37148a017455fa75 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 14 Oct 2004 21:43:29 +0000 Subject: [PATCH] * 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 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/t_deltat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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), -- 2.26.2