changeset 2307:18b8ece95018

* tests/strftime.c (test): Fix %I test.
author jlarmour
date Mon, 02 Oct 2006 14:17:43 +0000
parents d68e3769e3a1
children 5d7dfb7fb7dd
files packages/language/c/libc/time/current/ChangeLog packages/language/c/libc/time/current/tests/strftime.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/language/c/libc/time/current/ChangeLog
+++ b/packages/language/c/libc/time/current/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-02  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* tests/strftime.c (test): Fix %I test.
+
 2006-08-31  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* cdl/time.cdl: Don't bother inlining mktime() or
--- a/packages/language/c/libc/time/current/tests/strftime.c
+++ b/packages/language/c/libc/time/current/tests/strftime.c
@@ -118,7 +118,7 @@ test( CYG_ADDRWORD data )
                        "strftime test #7");
 
     size = strftime(s, 1000, "%I", &tm1);
-    CYG_TEST_PASS_FAIL((size==2) && !my_strcmp(s, "09"),
+    CYG_TEST_PASS_FAIL((size==2) && !my_strcmp(s, "08"),
                        "strftime test #8");
 
     size = strftime(s, 1000, "%j", &tm1);