summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-12-06 22:49:40 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-12-06 22:49:40 (GMT)
commitccc271fb4c389869ca35b1cc0fbf3f2613e8f60e (patch)
tree6c184d5d665d558d07c1b692eae757576ceb3898
parent5098d93a5364fb60487e91ae9fd4fd809c016a4a (diff)
downloadtcl-ccc271fb4c389869ca35b1cc0fbf3f2613e8f60e.zip
tcl-ccc271fb4c389869ca35b1cc0fbf3f2613e8f60e.tar.gz
tcl-ccc271fb4c389869ca35b1cc0fbf3f2613e8f60e.tar.bz2
* tests/msgcat.test: makeFile/removeFile cleanup [1079117]
-rw-r--r--ChangeLog2
-rw-r--r--tests/msgcat.test7
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f1b4fe2..24089ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* tests/safe.test: Trim auto_path to improve performance [1080039]
+ * tests/msgcat.test: makeFile/removeFile cleanup [1079117]
+
2004-12-04 Don Porter <dgp@users.sourceforge.net>
* generic/tclEncoding.c: Different fix for [Bug 1077005].
diff --git a/tests/msgcat.test b/tests/msgcat.test
index 0ceb2e9..92a7109 100644
--- a/tests/msgcat.test
+++ b/tests/msgcat.test
@@ -12,7 +12,7 @@
# Note that after running these tests, entries will be left behind in the
# message catalogs for locales foo, foo_BAR, and foo_BAR_baz.
#
-# RCS: @(#) $Id: msgcat.test,v 1.16 2004/11/11 01:16:07 das Exp $
+# RCS: @(#) $Id: msgcat.test,v 1.17 2004/12/06 22:49:40 dgp Exp $
package require Tcl 8.2
if {[catch {package require tcltest 2}]} {
@@ -396,8 +396,7 @@ namespace eval ::msgcat::test {
} else {
set msg [string tolower $loc]
}
- makeFile [list ::msgcat::mcset $loc abc abc-$loc] $msg.msg \
- [file join [temporaryDirectory] msgdir]
+ makeFile [list ::msgcat::mcset $loc abc abc-$loc] $msg.msg $msgdir
}
variable count 1
foreach loc {foo foo_BAR foo_BAR_baz} {
@@ -494,7 +493,7 @@ namespace eval ::msgcat::test {
} else {
set msg [string tolower $loc]
}
- removeFile $msg.msg msgdir
+ removeFile $msg.msg $msgdir
}
removeDirectory msgdir