]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Adjust for last change in tst-printf.c.
authorUlrich Drepper <drepper@redhat.com>
Thu, 14 Mar 2002 00:58:35 +0000 (00:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 14 Mar 2002 00:58:35 +0000 (00:58 +0000)
stdio-common/tst-printf.sh

index e207f639ba6db4824747709e7aecfd8807aeee25..a3626a7df364de0c6c76c941298cd9ffa6e5781a 100644 (file)
@@ -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