summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-10-02 23:20:30 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-10-02 23:20:30 (GMT)
commita04fa2fcec1f882f780d333beb09284c89ff7bff (patch)
tree361f1e2f2057737509cb1cce1f7ee6fe3b77bfac
parent0d2359a376086f55fc6219cc2801eb4e58069ad4 (diff)
downloadtcl-a04fa2fcec1f882f780d333beb09284c89ff7bff.zip
tcl-a04fa2fcec1f882f780d333beb09284c89ff7bff.tar.gz
tcl-a04fa2fcec1f882f780d333beb09284c89ff7bff.tar.bz2
* tests/info.test (info-23.3): See [SF Bug 2017632]. Updated
output of the test to handle the NRE-enabled eval and the proper propagation of location information through it.
-rw-r--r--ChangeLog4
-rw-r--r--tests/info.test6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3243dfd..56b863a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-10-02 Andreas Kupries <andreask@activestate.com>
+ * tests/info.test (info-23.3): See [SF Bug 2017632]. Updated
+ output of the test to handle the NRE-enabled eval and the proper
+ propagation of location information through it.
+
* doc/info.n: Fixed [SF Bug 2134049]. Rephrased the documentation
of 'info frame' for positive numbers as level argument.
diff --git a/tests/info.test b/tests/info.test
index 7388e08..9f94dd3 100644
--- a/tests/info.test
+++ b/tests/info.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: info.test,v 1.59 2008/10/02 22:55:58 andreas_kupries Exp $
+# RCS: @(#) $Id: info.test,v 1.60 2008/10/02 23:20:30 andreas_kupries Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -788,11 +788,11 @@ test info-23.2.1 {eval'd info frame, dynamic} -constraints {singleTestInterp} -m
set script {info frame}
eval $script
} -result {1[12]}
-test info-23.3 {eval'd info frame, literal} {
+test info-23.3 {eval'd info frame, literal} -match glob -body {
eval {
info frame 0
}
-} {type eval line 2 cmd {info frame 0} proc ::tcltest::RunTest}
+} -result {type source line 793 file * cmd {info frame 0} proc ::tcltest::RunTest}
test info-23.4 {eval'd info frame, semi-dynamic} {
eval info frame 0
} {type eval line 1 cmd {info frame 0} proc ::tcltest::RunTest}