summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-12-01 15:22:54 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-12-01 15:22:54 (GMT)
commit1d77ae594ff85f4e2d248e6b99102d5c9265c8a1 (patch)
treeecb893ca7cef67085701c2fe7a6dbc943b98b934
parent356517f22ce69c8aed7a5a9f6792be1065112f75 (diff)
downloadtcl-1d77ae594ff85f4e2d248e6b99102d5c9265c8a1.zip
tcl-1d77ae594ff85f4e2d248e6b99102d5c9265c8a1.tar.gz
tcl-1d77ae594ff85f4e2d248e6b99102d5c9265c8a1.tar.bz2
Fix [Bug 2371623] with a constraint.
-rw-r--r--ChangeLog18
-rw-r--r--tests/cmdAH.test7
2 files changed, 15 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 806fb77..ae26270 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,16 @@
+2008-12-01 Donal K. Fellows <dkf@users.sf.net>
+
+ * tests/cmdAH.test (cmdAH-32.6): Test was not portable; depended on a
+ C API function not universally available. [Bug 2371623]
+
2008-11-30 Kevin B. Kenny <kennykb@acm.org>
- * library/clock.tcl (format, ParseClockScanFormat): Added a
- [string map] to get rid of namespace delimiters before caching a
- scan or format procedure [Bug 2362156].
- * tests/clock.test (clock-64.[12]): Added test cases for the bug
- that was tickled by a namespace delimiter inside a format string.
-
-
+ * library/clock.tcl (format, ParseClockScanFormat): Added a [string
+ map] to get rid of namespace delimiters before caching a scan or
+ format procedure. [Bug 2362156]
+ * tests/clock.test (clock-64.[12]): Added test cases for the bug that
+ was tickled by a namespace delimiter inside a format string.
+
2008-11-29 Donal K. Fellows <dkf@users.sf.net>
TIP #210 IMPLEMENTATION
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index b5408dd..da554ce 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.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: cmdAH.test,v 1.64 2008/11/29 18:17:19 dkf Exp $
+# RCS: @(#) $Id: cmdAH.test,v 1.65 2008/12/01 15:22:55 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -1568,12 +1568,13 @@ test cmdAH-32.5 {file tempfile - templates} -constraints unix -body {
} -cleanup {
catch {file delete $name}
} -result ok
-test cmdAH-32.6 {file tempfile - templates} -constraints unix -body {
+# Not portable; not all unix systems have mkstemps()
+test cmdAH-32.6 {file tempfile - templates} -body {
set template [file join $dirfile foo]
close [file tempfile name $template.bar]
expr {[string match $template*.bar $name] ? "ok" :
"$template.bar produced $name"}
-} -cleanup {
+} -constraints {unix nonPortable} -cleanup {
catch {file delete $name}
} -result ok