diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2025-09-15 16:58:27 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2025-09-15 16:58:27 (GMT) |
| commit | e44e9d0a29974bb26a43fa1c46f77de741894d88 (patch) | |
| tree | 0a90635f566c56ad049dfb8d93e460fb7fcc4732 | |
| parent | 63e1acd4b9ab03a8fa97f677b9607cbe4b04175f (diff) | |
| download | tcl-e44e9d0a29974bb26a43fa1c46f77de741894d88.zip tcl-e44e9d0a29974bb26a43fa1c46f77de741894d88.tar.gz tcl-e44e9d0a29974bb26a43fa1c46f77de741894d88.tar.bz2 | |
Add test for subcommand list of interp child, never previously tested
| -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 ed9b542..f6a974d 100644 --- a/tests/interp.test +++ b/tests/interp.test @@ -66,6 +66,13 @@ test interp-1.9 {options for interp command} -returnCodes error -body { test interp-1.10 {options for interp command} -returnCodes error -body { interp target } -result {wrong # args: should be "interp target path alias"} +test interp-1.11 {options for interp child command} -returnCodes error -setup { + interp create child +} -body { + child gorp +} -cleanup { + interp delete child +} -result {bad option "gorp": must be alias, aliases, bgerror, debug, eval, expose, hide, hidden, issafe, invokehidden, limit, marktrusted, recursionlimit, or set} # Part 1: Basic interpreter creation tests: test interp-2.1 {basic interpreter creation} { |
