summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-12-13 16:08:13 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-12-13 16:08:13 (GMT)
commitb5d93c0982c6fd38917409461cc86a0dad5a467b (patch)
tree69518107e8cf4867831ee2cc0e4da3139ae1c305 /tests/cmdAH.test
parent86ced50657a467a7e29470be90d1d13061b84a2d (diff)
parent7cf0ac1eafc58e6473a6f2d2e2c0480628ac626c (diff)
downloadtcl-b5d93c0982c6fd38917409461cc86a0dad5a467b.zip
tcl-b5d93c0982c6fd38917409461cc86a0dad5a467b.tar.gz
tcl-b5d93c0982c6fd38917409461cc86a0dad5a467b.tar.bz2
Merge 3595576 tests from 8.5.
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r--tests/cmdAH.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index 2ecf626..3051bfb 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -70,6 +70,12 @@ test cmdAH-1.2 {Tcl_CatchObjCmd, errors} {
test cmdAH-1.3 {Tcl_CatchObjCmd, errors} -returnCodes error -body {
catch foo bar baz spaz
} -result {wrong # args: should be "catch script ?resultVarName? ?optionVarName?"}
+test cmdAH-1.4 {Bug 3595576} {
+ catch {catch {} -> noSuchNs::var}
+} 1
+test cmdAH-1.5 {Bug 3595576} {
+ catch {catch error -> noSuchNs::var}
+} 1
test cmdAH-2.1 {Tcl_CdObjCmd} -returnCodes error -body {
cd foo bar