summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2016-07-14 08:31:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2016-07-14 08:31:00 (GMT)
commitc65f04435b80a065f992d534fcd8bfc9a5a0e8ef (patch)
tree634fb50b290fe6487db35c2bbab743301a410ec4 /tests/cmdAH.test
parent09c67efdce34a8588ab4cb53e007e8ec603dc081 (diff)
downloadtcl-c65f04435b80a065f992d534fcd8bfc9a5a0e8ef.zip
tcl-c65f04435b80a065f992d534fcd8bfc9a5a0e8ef.tar.gz
tcl-c65f04435b80a065f992d534fcd8bfc9a5a0e8ef.tar.bz2
[77d58e3a7a] Test case independence: chanio, cmdah, env, history.
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r--tests/cmdAH.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index ef933cb..6418aae 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -141,9 +141,13 @@ test cmdAH-2.6.2 {cd} -constraints {unix nonPortable} -setup {
} -cleanup {
cd $dir
} -result {/}
-test cmdAH-2.6.3 {Tcl_CdObjCmd, bug #3118489} -returnCodes error -body {
+test cmdAH-2.6.3 {Tcl_CdObjCmd, bug #3118489} -setup {
+ set dir [pwd]
+} -returnCodes error -body {
cd .\0
-} -result "couldn't change working directory to \".\0\": no such file or directory"
+} -cleanup {
+ cd $dir
+} -match glob -result "couldn't change working directory to \".\0\": *"
test cmdAH-2.7 {Tcl_ConcatObjCmd} {
concat
} {}