diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2011-08-30 00:05:19 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2011-08-30 00:05:19 (GMT) |
| commit | 827eea2d7594cfaffb46a99b45ee09be4dd1bd3d (patch) | |
| tree | b5c0fc271ea0fd6dbddade04e906a194ddd9294e /tests | |
| parent | 275393e4f4c4986560b9e5e91e9500ad821bdc2e (diff) | |
| download | tcl-827eea2d7594cfaffb46a99b45ee09be4dd1bd3d.zip tcl-827eea2d7594cfaffb46a99b45ee09be4dd1bd3d.tar.gz tcl-827eea2d7594cfaffb46a99b45ee09be4dd1bd3d.tar.bz2 | |
[Bug 3398794]: Use Tcl errors in scripts, not panics.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/interp.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/interp.test b/tests/interp.test index 5e6d6b0..510ab4a 100644 --- a/tests/interp.test +++ b/tests/interp.test @@ -3429,6 +3429,13 @@ test interp-35.22 {interp time limits normalize milliseconds} -body { } -cleanup { interp delete $i } -result {2 500} +# Bug 3398794 +test interp-35.23 {interp command limits can't touch current interp} -body { + interp limit {} commands -value 10 +} -returnCodes error -result {limits on current interpreter inaccessible} +test interp-35.24 {interp time limits can't touch current interp} -body { + interp limit {} time -seconds 2 +} -returnCodes error -result {limits on current interpreter inaccessible} test interp-36.1 {interp bgerror syntax} -body { interp bgerror |
