summaryrefslogtreecommitdiffstats
path: root/tests/info.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-11-05 14:55:14 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-11-05 14:55:14 (GMT)
commit17d34ed9ea3e7f173fad801e48240de9a99d77e8 (patch)
treee444cd464f93f10ffab5483b5917f5eb87b7cc2b /tests/info.test
parent18dbdc3e40e19a7266c19924537e6914840adbe5 (diff)
parentcd1f27f0cf22ec6b5b83f2fd48c1ba93e5c27be2 (diff)
downloadtcl-17d34ed9ea3e7f173fad801e48240de9a99d77e8.zip
tcl-17d34ed9ea3e7f173fad801e48240de9a99d77e8.tar.gz
tcl-17d34ed9ea3e7f173fad801e48240de9a99d77e8.tar.bz2
Added bytecode compilation of many Tcl commands, merged from development branch.
Diffstat (limited to 'tests/info.test')
-rw-r--r--tests/info.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/info.test b/tests/info.test
index 7dd63b7..5078e11 100644
--- a/tests/info.test
+++ b/tests/info.test
@@ -1955,6 +1955,12 @@ test info-38.2 {location information for uplevel, dl, direct-literal} -match glo
* {type source line 1951 file info.test cmd etrace level 1}
* {type source line 1949 file info.test cmd uplevel\\ \\\\ level 1}} -cleanup {interp delete sub}
+# This test at the end of this file _only_ to avoid disturbing above line
+# numbers. It _belongs_ after info-9.12
+test info-9.13 {info level option, value in global context} -body {
+ uplevel #0 {info level 2}
+} -returnCodes error -result {bad level "2"}
+
# -------------------------------------------------------------------------
unset -nocomplain res