about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-13 23:44:36 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-13 23:44:36 +0000
commit351f0765c7ff4e73be396a76817802508df1c7c1 (patch)
treee2617436d008628f5b6e0bfef984ce73df64e4f3
parent75bfdfc7df6d3557358fe7f1c01e748ef6b5efc7 (diff)
downloadglibc-351f0765c7ff4e73be396a76817802508df1c7c1.tar.gz
glibc-351f0765c7ff4e73be396a76817802508df1c7c1.tar.xz
glibc-351f0765c7ff4e73be396a76817802508df1c7c1.zip
Update.
2002-03-13  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c.
-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