summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stdio-common/tst-printf.sh6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d346ad116..ef9ba52cfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-13  Ulrich Drepper  <drepper@redhat.com>
+
+	* stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c.
+
 2002-03-13  Wolfram Gloger  <wg@malloc.de>
 
 	* malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed.
diff --git a/stdio-common/tst-printf.sh b/stdio-common/tst-printf.sh
index e207f639ba..a3626a7df3 100644
--- a/stdio-common/tst-printf.sh
+++ b/stdio-common/tst-printf.sh
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Testing of printf.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2002 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #
 
@@ -103,7 +103,7 @@ something really insane: 1.00000000000000000000000000000000000000000000000000000
 | 100000.0000|  1.0000e+05|       1e+05|
 | 123456.0000|  1.2346e+05|   1.235e+05|
 snprintf ("%30s", "foo") == 30, "                   "
-snprintf ("%.999999u", 10)
+snprintf ("%.999999u", 10) == 999999
 
 Formatted output test
 prefix  6d      6o      6x      6X      6u
@@ -214,7 +214,7 @@ something really insane: 1.00000000000000000000000000000000000000000000000000000
 | 100000.0000|  1.0000e+05|       1e+05|
 | 123456.0000|  1.2346e+05|   1.235e+05|
 snprintf ("%30s", "foo") == 30, "                   "
-snprintf ("%.999999u", 10)
+snprintf ("%.999999u", 10) == 999999
 
 Formatted output test
 prefix  6d      6o      6x      6X      6u