summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrmax <rmax>2004-11-25 16:17:08 (GMT)
committerrmax <rmax>2004-11-25 16:17:08 (GMT)
commit16786015d10aff3dce40b31e1cd011edb3ee6bf6 (patch)
tree2b1cb8096722dd2a1bc13070e9db359eade9c98d
parent9f929e8e7ca0d00e4712514944ab413dea33580c (diff)
downloadtcl-16786015d10aff3dce40b31e1cd011edb3ee6bf6.zip
tcl-16786015d10aff3dce40b31e1cd011edb3ee6bf6.tar.gz
tcl-16786015d10aff3dce40b31e1cd011edb3ee6bf6.tar.bz2
* tests/tcltest.test: The order in which [glob] returns the file
names is undefined, so tests should not depend on it.
-rw-r--r--ChangeLog5
-rwxr-xr-xtests/tcltest.test6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d9ad8e..6a44435 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-25 Reinhard Max <max@suse.de>
+
+ * tests/tcltest.test: The order in which [glob] returns the file
+ names is undefined, so tests should not depend on it.
+
2004-11-25 Zoran Vasiljevic <vasiljevic@users.sf.net>
* doc/Thread.3:
diff --git a/tests/tcltest.test b/tests/tcltest.test
index e7a36fb..bfef841 100755
--- a/tests/tcltest.test
+++ b/tests/tcltest.test
@@ -6,7 +6,7 @@
# Copyright (c) 2000 by Ajuba Solutions
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.test,v 1.47 2004/11/11 01:16:07 das Exp $
+# RCS: @(#) $Id: tcltest.test,v 1.48 2004/11/25 16:17:09 rmax Exp $
# Note that there are several places where the value of
# tcltest::currentFailure is stored/reset in the -setup/-cleanup
@@ -980,7 +980,7 @@ test tcltest-15.1 {basic directory walking} {
}
-match regexp
-returnCodes 1
- -result {Tests located in:.*dirtestdir.*Tests located in:.*dirtestdir2.1.*Tests located in:.*dirtestdir2.2.*Tests located in:.*dirtestdir2.3}
+ -result {Tests located in:.*dirtestdir.*Tests located in:.*dirtestdir2.[123].*Tests located in:.*dirtestdir2.[123].*Tests located in:.*dirtestdir2.[123]}
}
test tcltest-15.2 {-asidefromdir} {
@@ -995,7 +995,7 @@ test tcltest-15.2 {-asidefromdir} {
}
-match regexp
-returnCodes 1
- -result {Tests located in:.*dirtestdir.*Tests located in:.*dirtestdir2.1.*Tests located in:.*dirtestdir2.2.*dirtestdir2.2 test ended at .*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ -result {Tests located in:.*dirtestdir.*Tests located in:.*dirtestdir2.[12].*Tests located in:.*dirtestdir2.[12].*dirtestdir2.[12] test ended at .*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: No test files remain after applying your match and skip patterns!
Error: No test files remain after applying your match and skip patterns!
Error: No test files remain after applying your match and skip patterns!$}