summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-06-17 23:26:06 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-06-17 23:26:06 (GMT)
commit17efc09f1ef6cf0d49925423ef414a55c83320b2 (patch)
tree519cadab94bf19ba9f5c89129a24396b267240c2 /tests
parenta36b4c045ab06380df9b554a4cd8ebfefe9da25d (diff)
downloadtcl-17efc09f1ef6cf0d49925423ef414a55c83320b2.zip
tcl-17efc09f1ef6cf0d49925423ef414a55c83320b2.tar.gz
tcl-17efc09f1ef6cf0d49925423ef414a55c83320b2.tar.bz2
Fix bug in [format %hx] handling on selected platforms. [Bug 1154163]
Diffstat (limited to 'tests')
-rw-r--r--tests/format.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/format.test b/tests/format.test
index 3ca51ac..448f162 100644
--- a/tests/format.test
+++ b/tests/format.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: format.test,v 1.11.2.6 2004/10/27 17:55:14 kennykb Exp $
+# RCS: @(#) $Id: format.test,v 1.11.2.7 2005/06/17 23:26:20 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -365,6 +365,10 @@ test format-10.2 {"h" format specifier} {nonPortable} {
test format-10.3 {"h" format specifier} {nonPortable} {
format %hd 0x10000
} 0
+test format-10.4 {"h" format specifier} {
+ # Bug 1154163: This is minimal behaviour for %hx specifier!
+ format %hx 1
+} 1
test format-11.1 {XPG3 %$n specifiers} {
format {%2$d %1$d} 4 5