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)
commit2edc27460110b94f8b244189a3dc9033e1d6ce55 (patch)
tree634fb50b290fe6487db35c2bbab743301a410ec4 /tests/cmdAH.test
parent89796adf9c2d5782c9663fce9ed1529dd58926b3 (diff)
downloadtcl-2edc27460110b94f8b244189a3dc9033e1d6ce55.zip
tcl-2edc27460110b94f8b244189a3dc9033e1d6ce55.tar.gz
tcl-2edc27460110b94f8b244189a3dc9033e1d6ce55.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
} {}