summaryrefslogtreecommitdiffstats
path: root/tests/cmdMZ.test
Commit message (Collapse)AuthorAgeFilesLines
* TIP #348 IMPLEMENTATION - Substituted error stackferrieux2010-04-051-4/+8
| | | FossilOrigin-Name: 43fe3048397d3a082c8a3c34f0cd6875f4350dd3
* [FRQ 2974744]: share exception codes (ObjType?):nijtmans2010-03-311-6/+6
| | | | | | | | Revised test cases, making sure that abbreviated codes are checked resulting in an error, and checking for the exact error message. FossilOrigin-Name: 8a5a22ad19487fa1fa9e96c539fc053111ab3a78
* Revert mistaken commitdgp2009-11-161-14/+14
| | | FossilOrigin-Name: f90f573d18f87ab1e88361e964ee10f0a73cfb63
* (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-14/+14
| | | | | manifestations in the future. Add tcltest support for finalization. FossilOrigin-Name: 8fa4d0a5b9522d777f23908a685d9c58ccef2d34
* Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-101-135/+134
| | | | | | (though not of its output format). FossilOrigin-Name: 677f3de5be6eecbfdffcbc5dad8679bcf673c6b8
* * tests/*.test: updated all tests to refer explicitly to thetip-278-20061009msofer2006-10-091-6/+6
| | | | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test. FossilOrigin-Name: a8fcd798f4d17d4d3c958b65f206e78267d99627
* * tests/cmdMZ.test (cmdMZ-return-2.17): Added a test that a worddgp2004-07-061-1/+11
| | | | | | | | | | | containing backslash-quoted value is treated correctly. * generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196] Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs to have their original word value copied ( "{a b}" ) rather than the actual value ( "a b" ). Thanks to Kevin Kenny for report and tests. FossilOrigin-Name: 22941dd4e1b327492f9344b0bd87e6ec8e025d86
* * tests/cmdMZ.test (cmdMZ-return-2.15,cmdMZ-return-2.16):kennykb2004-07-061-1/+22
| | | | | | | Added a test that a return code containing spaces is correctly returned. FossilOrigin-Name: 8e3628cad73106751096b37f1bfc0da248a70799
* Standardize some use of test constraints onto names that are documenteddkf2004-06-231-2/+2
| | | FossilOrigin-Name: f6289216a6b8e8d361beccf3be1d2828d810f7ba
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-7/+1
| | | FossilOrigin-Name: b6330dbac725e2d527ad089669aa7f4779d19398
* * tests/basic.test: Made several tests more robust to thedgp2004-02-251-4/+19
| | | | | | | | | | | | * tests/cmdMZ.test: list-quoting of path names that might * tests/exec.test: contain Tcl-special chars like { or [. * tests/io.test: Should help us sort out Tcl Bug 554068. * tests/pid.test: * tests/socket.test: * tests/source.test: * tests/unixInit.test: FossilOrigin-Name: 0fb8324d96f8136273a901d03c2b9804166ac966
* * tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as morehobbs2003-11-121-8/+5
| | | | | | | systems are using permissions caching, and this isn't really a Tcl controlled issue. FossilOrigin-Name: 0f226694e49d06b18d8405d5dc3c92758b2dd9a8
* * doc/FileSystem.3: Implementation ofdgp2003-09-051-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/source.n: TIPs 137/151. Adds * doc/tclsh.1: a -encoding option to * generic/tcl.decls: the [source] command * generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine, * generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(), * generic/tclMain.c (Tcl_Main): that provides C access * mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function. * tests/cmdMZ.test: Also adds command line * tests/main.test: option handling in Tcl_Main() so that tclsh * tests/source.test: and other apps built on Tcl_Main() respect a -encoding command line option before a script filename. Docs and tests updated as well. [Patch 742683] This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former ability to pass a leading "-encoding" option to interactive shell operations. * generic/tclInt.decls: Added internal stub * generic/tclMain.c (Tcl*StartupScript*): table entries for two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript() that set/get the path and encoding for the startup script to be evaluated by either Tcl_Main() or Tk_Main(). Given public names in anticipation of their exposure by a followup TIP. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c: FossilOrigin-Name: 8f0e879bbdc4e2ab4f52f86e0fb90d1455447e7b
* * generic/tclCmdAH.c: Corrected bug in TIP 90 implementationdgp2003-08-291-2/+2
| | | | | | | | * tests/cmdMZ.test: where the default -errorcode NONE value was not copied into the return options dictionary. This correction modified one test result. FossilOrigin-Name: 3196407960555532f46e598ef5a0dd1faa70f97b
* Factored out the trace code - it's big enough to be its own maintenance areadkf2003-06-251-2/+1
| | | | | | and tricky enough to discourage non-specialists... FossilOrigin-Name: 9dafee66e240f17d87513dd07e1e4c48d4a0fb0c
* * generic/tclBasic.c (TclInvokeObjectCommand): objv[argc] is nodgp2003-05-121-1/+2
| | | | | | | | | longer set to NULL (Tcl_CreateObjCommand docs already say that it should not be accessed). * tests/cmdMZ.test: Forgot to import [temporaryDirectory]. FossilOrigin-Name: 22965bb0b08690777b678771b22356da37df86af
* * generic/tclBasic.c: Implementation of TIP 90, whichdgp2003-05-051-8/+123
| | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] failed to recognize the symbolic name "ok" for return code 0. FossilOrigin-Name: d2aab88bfde5587db4e06fc0d0f900ddf7db306a
* Added tests for the [time] command.dkf2002-07-191-2/+28
| | | FossilOrigin-Name: 6c57e7a165d844fc90be2f5de4f3edbb4ce7deae
* Renamed 'notLinux' constraint to 'nonLinuxOnly' for clarity. [Bug#583427]dkf2002-07-191-3/+3
| | | FossilOrigin-Name: d6a2ce84903ff99a0db1daeb55b308ca24c46b43
* More fixing of writable-current-dir assumption. [Bug 575824]dkf2002-07-041-5/+6
| | | FossilOrigin-Name: 29b02d384aec0378940bbf868147eff0e4a4dac7
* * Updated the instructions on running and adding to the test suite.dgp2002-07-011-10/+14
| | | | | | | Also updated several tests, mostly to correctly create and destroy any temporary files in the [temporaryDirectory] of tcltest. FossilOrigin-Name: 7e30b7a427687b12f5bc1752445fb994686ff993
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-2/+2
| | | | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details FossilOrigin-Name: f961ecdd17042f83d4cf5b21380c117066ed9b88
* * tests/cmdMZ.test (cmdMZ-1.4): added notLinux constraint to testhobbs2001-05-211-2/+7
| | | | | | to prevent failure message on Linux due to OS caching bug. FossilOrigin-Name: f3c485c4592b3bd02c33f9e36014306f1feec87a
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* * doc/string.n:stanton1999-05-061-435/+2
| | | | | | | | | | | | | | | | | | | | | | * tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/ioCmd.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * tests/cmdIL.test: * generic/tclUtil.c: * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with -nocase and -length switches to "string compare/equal". Added a -nocase option to "string map". Changed index syntax to allow integer or end?-integer? instead of a full expression. This is much simpler with safeTcl scripts since it avoids double substitution issues. FossilOrigin-Name: fb86d777335b2ac849402a221620f256735bb566
* * doc/string.n:stanton1999-05-041-9/+25
| | | | | | | | | * tests/cmdMZ.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length" to avoid regenerating the string rep of a ByteArray object. FossilOrigin-Name: c7c3e9c0cf7b1cf737f729def5f4f9ac997d2e3d
* * tests/cmdIL.test:stanton1999-05-041-19/+19
| | | | | | | | | | | | | | | * tests/cmdMZ.test: * tests/error.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's string patch which includes the following changes [Bug: 1845]: FossilOrigin-Name: 2728afa3b5f0b6707d8655c44ac742ffa5dba059
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+581
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9