summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2008-08-14 00:08:23 (GMT)
committerdas <das>2008-08-14 00:08:23 (GMT)
commitc8f2aa86aa2023b82b2329d7412a144dca4c4953 (patch)
treea3beba69cb6ae4e8f1886d8659bab6a6f1409e8c
parent6425f2590d59b5a5c46cb4b50f2152a1118263ed (diff)
downloadtcl-c8f2aa86aa2023b82b2329d7412a144dca4c4953.zip
tcl-c8f2aa86aa2023b82b2329d7412a144dca4c4953.tar.gz
tcl-c8f2aa86aa2023b82b2329d7412a144dca4c4953.tar.bz2
* tests/fCmd.test (fCmd-6.23): made result matching robust when test
workdir and /tmp are not on same FS.
-rw-r--r--ChangeLog4
-rw-r--r--tests/fCmd.test4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e02c752..a69d097 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2008-08-14 Daniel Steffen <das@users.sourceforge.net>
+ * tests/fCmd.test (fCmd-6.23): made result matching robust when test
+ workdir and /tmp are not on same FS.
+
* unix/tclUnixThrd.c: remove unused TclpThreadGetStackSize()
* generic/tclInt.h: and related ifdefs and autoconf tests.
* unix/tclUnixPort.h: [Bug 2017264] (jenglish)
@@ -13,6 +16,7 @@
libX11.so et al.
* unix/configure: autoconf-2.59
+ * unix/tclConfig.h.in: autoheader-2.59
2008-08-13 Miguel Sofer <msofer@users.sf.net>
diff --git a/tests/fCmd.test b/tests/fCmd.test
index 64be7de..78c0270 100644
--- a/tests/fCmd.test
+++ b/tests/fCmd.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: fCmd.test,v 1.63 2008/07/20 06:40:01 dkf Exp $
+# RCS: @(#) $Id: fCmd.test,v 1.64 2008/08/14 00:08:24 das Exp $
#
if {[lsearch [namespace children] ::tcltest] == -1} {
@@ -602,7 +602,7 @@ test fCmd-6.23 {CopyRenameOneFile: TclpCopyDirectory failed} -setup {
file rename td1 /tmp
} -returnCodes error -cleanup {
file attributes td1 -permissions 0755
-} -result {error renaming "td1": permission denied}
+} -match regexp -result {^error renaming "td1"( to "/tmp/td1")?: permission denied$}
test fCmd-6.24 {CopyRenameOneFile: error uses original name} -setup {
cleanup
} -constraints {unix notRoot} -body {