diff options
author | dgp <dgp@users.sourceforge.net> | 2003-03-12 17:52:36 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-03-12 17:52:36 (GMT) |
commit | c94c76084840f5d1725f9994a145c4b891912b5d (patch) | |
tree | 3baa29a98191a0ae41a93265362d348a228b00ce /tests | |
parent | 635d16b8c18e9dc6a23929b91c2e60c7222666cb (diff) | |
download | tcl-c94c76084840f5d1725f9994a145c4b891912b5d.zip tcl-c94c76084840f5d1725f9994a145c4b891912b5d.tar.gz tcl-c94c76084840f5d1725f9994a145c4b891912b5d.tar.bz2 |
* generic/tclInterp.c (Tcl_InterpObjCmd): Corrected option
parsing beyond objc for [interp create --]. Thanks to
Marco Maggi. [Bug 702383]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/interp.test | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/interp.test b/tests/interp.test index 0af4cfc..43599b8 100644 --- a/tests/interp.test +++ b/tests/interp.test @@ -10,10 +10,10 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: interp.test,v 1.19 2003/02/05 20:05:47 mdejong Exp $ +# RCS: @(#) $Id: interp.test,v 1.20 2003/03/12 17:52:36 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest + package require tcltest 2.1 namespace import -force ::tcltest::* } @@ -118,6 +118,9 @@ test interp-2.12 {anonymous interps vs existing procs} { regexp "interp(\[0-9]+)" $x dummy anothernum expr $anothernum - $thenum } 1 +test interp-2.13 {correct default when no $path arg is given} -body { + interp create -- +} -match regexp -result {interp[0-9]+} foreach i [interp slaves] { interp delete $i |