summaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-05-05 14:50:16 +0000
committerJakub Jelinek <jakub@redhat.com>2006-05-05 14:50:16 +0000
commit262cf6b3df91d5bb7cbdcae2390333b21e8008d5 (patch)
treee08285b4eb00fcd3b961f02426120607e17d7ca7 /stdio-common
parent3f898a85fc15daad530ca7db852e7d724e3914b5 (diff)
Updated to fedora-glibc-20060505T1443cvs/fedora-glibc-2_4_90-6
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/tst-printf.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/stdio-common/tst-printf.sh b/stdio-common/tst-printf.sh
index 04d04b20b8..f3091d2f96 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, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2002, 2006 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
@@ -136,6 +136,12 @@ Test ok.
sprintf (buf, "%07Lo", 040000000000ll) = 40000000000
printf ("%hhu", 257) = 1
printf ("%hu", 65537) = 1
+printf ("%hhi", 257) = 1
+printf ("%hi", 65537) = 1
+printf ("%1$hhu", 257) = 1
+printf ("%1$hu", 65537) = 1
+printf ("%1$hhi", 257) = 1
+printf ("%1$hi", 65537) = 1
--- Should be no further output. ---
EOF
cmp - ${common_objpfx}stdio-common/tst-printf.out > /dev/null 2>&1 ||