summaryrefslogtreecommitdiffstats
path: root/tests/stringComp.test
Commit message (Collapse)AuthorAgeFilesLines
* [0dca3bfa8f] Strengthen validity checks on fast-path string comparison.dkf2014-12-031-0/+8
| | | FossilOrigin-Name: 10719b63c9aa30e1364af4c47a73245c15f500bf
* Don't use [pid] in tests, stick to constant literals.ferrieux2014-08-021-3/+3
| | | FossilOrigin-Name: a3fb69be9fb35f5e4122a6a14b218b16344bfb53
* TIP 429 Implementation: [string cat]ferrieux2014-08-021-2/+36
| | | FossilOrigin-Name: 9ce779b0993f852b38d0f629284a01fe5be39a91
* make doubly sure that things which should be unshared stay unshareddkf2014-05-011-6/+6
| | | FossilOrigin-Name: 67c8b705b5b8ba40ce1c4ee20471eda375991990
* missing constraintdgp2014-05-011-1/+1
| | | FossilOrigin-Name: 36b1780d1af37c1bfd3356c2242e4509a5496a6b
* [82e7f67325] Fix an evil refcount problem in compiled [string replace].dkf2014-04-301-1/+33
| | | FossilOrigin-Name: 9d2057859c777773e2b7fac391312a5731e642fa
* [Bug 3588366]: Corrected implementation of bounds restriction for end-indexeddkf2012-11-191-3/+11
| | | | | compiled [string range]. Thanks to Emiliano Gavilan for diagnosis and fix. FossilOrigin-Name: 2af48a01bb54d12054ca32f318a387d09d11f400
* No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | combination with tcltest86.dll to do that (Windows only) FossilOrigin-Name: 9792ff8b65ab77c813359c0e324f501dab14b948
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ | | | | | | | | cause more harm than good. Purged them (except in zlib files). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ | | | | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
| | * * tests/appendComp.test: Backport test suite fixes of errorsdgp2004-10-281-144/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test: FossilOrigin-Name: 58c2f9f1b3cedab87015c6e1998a044a4d6773df
* | | * tests/stringComp.test: improved string test coveragehobbs2010-09-251-167/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclExecute.c (TclExecuteByteCode): merge INST_STR_CMP and INST_STR_EQ/INST_STR_NEQ paths. Speeds up eq/ne/[string eq] with obj-aware comparisons and eq/==/ne/!= with length equality check. FossilOrigin-Name: f1d4c3f43e4a9a85cc5da6d3c9d6f3d3f0fc5657
* | | More test suite cleanup for "-singleproc 1 -debug 1" testing.dgp2009-06-241-1/+2
| | | | | | | | | FossilOrigin-Name: cb05dda8cccdb06f5c4219d9cdfda8842ed01925
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
|/ / | | | | FossilOrigin-Name: 1e5261316ed076ff5ff69f2a720e8eff30fcf66e
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| | | | | | FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
* | Turn the [string] command into a real compiled ensemble.dkf2007-11-231-3/+3
| | | | | | FossilOrigin-Name: 6d7ebe09d9d6d6f332cdfb31ea89528d3304d592
* | * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test: FossilOrigin-Name: 985f1d240af3c5f24259b36641dc385183af8a14
* | Forgot to fix the relevant testsdkf2007-06-081-3/+3
| | | | | | FossilOrigin-Name: a924166e8e6b7076cadd260b4ed58e9e6d12ca21
* | Implemented [string reverse].dkf2006-11-091-2/+2
| | | | | | | | | | | | Finalizes basic TIP#272 implementation. FossilOrigin-Name: 82bd93862e76b783aba51e496f43112b7de547cc
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-101-1/+1
| | | | | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* | TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclUtil.c: Extended TclGetIntForIndex to recognize index formats including end+integer and integer+/-integer. * generic/tclCmdMZ.c: Extended the -start switch of [regexp] and [regsub] to accept all index formats known by TclGetIntForIndex. * doc/lindex.n: Updated docs to note new index formats. * doc/linsert.n: * doc/lrange.n: * doc/lreplace.n: * doc/lsearch.n: * doc/lset.n: * doc/lsort.n: * doc/regexp.n: * doc/regsub.n: * doc/string.n: * tests/cmdIL.test: Updated tests. * tests/compile.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/lsearch.test: * tests/lset.test: * tests/regexp.test: * tests/regexpComp.test: * tests/string.test: * tests/stringComp.test: * tests/util.test: FossilOrigin-Name: d9e4591786991fc6676581c61c73cb49f06f13a7
* | * tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist.dgp2004-05-251-144/+144
| | | | | | | | | | | | | | | | * tests/stringComp.test: stop re-use of string.test test names * tests/regexpComp.test: stop re-use of regexp.test test names * tests/namespace.test (namespace-46.3): Verify [p] does not exist. FossilOrigin-Name: ba729ce0490ab5c5eb3d380d1dcff3725503f350
* | Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-3/+2
|/ | | | | necessary. FossilOrigin-Name: ae1ac5736f8152bee6dd84f96e191a4a097cebb3
* * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):hobbs2003-02-181-1/+47
| | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH): * generic/tclUtf.c (TclUniCharMatch): * generic/tclInt.decls: add private TclUniCharMatch function that * generic/tclIntDecls.h: does string match on counted unicode * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the * tests/string.test: failing that it can't handle strings or * tests/stringComp.test: patterns with embedded NULLs. Added tests that actually try strings/pats with NULLs. TclUniCharMatch should be TIPed and made public in the next minor version rev. FossilOrigin-Name: 28dcdcf39e0981d8917cd869b26dbdb4c0aa8ff6
* added more string comparison checkshobbs2002-05-291-1/+13
| | | FossilOrigin-Name: 0d46aa8304839f9bc0540e1b3fad61aa00b55a63
* added lset tests and updated lindex tests for TIPs#22,33,45 by Kennyhobbs2001-11-141-2/+3
| | | FossilOrigin-Name: 5325c5bfa82db942a7c0384f0119ad6b2a62a69a
* * tests/stringComp.test: added string-1.3hobbs2001-08-251-1/+10
| | | | | | | | | * generic/tclCompCmds.c (TclCompileStringCmd): changed to return TCL_OUT_LINE_COMPILE instead of TCL_ERROR when compiling and an unknown string method is called. This is necessary as the string command may be never called, or not until 'string' is redefined. FossilOrigin-Name: ec88d661c12e581e33e28b00e097022907515f8a
* * tests/appendComp.test:hobbs2001-05-171-0/+651
* tests/stringComp.test: new files for extended bytecode testing FossilOrigin-Name: 61540d2dbba75e353daaeae98fb07babbb35cd8c