summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Bring back a set of tests from 8.6. Invented new constraints to constrain todgp2020-04-261-0/+30
| | | the right conditions, not implied ones.
* Fix [cc4d805771]: reg-13.17.error fails in 8.5 tipjan.nijtmans2020-04-241-2/+1
|
* Two more tests developed during work on [27944a3661].dgp2020-04-241-0/+6
|
* Revise tests to reflect fixed bug in RE parsing of \uHHHH escapes.dgp2020-04-241-1/+2
|
* Missing '0'jan.nijtmans2020-04-241-1/+1
|
* Add protections against overflow in Unicode values. Backported from 8.6. ↵jan.nijtmans2020-04-241-5/+9
| | | | Also remove some out-of-date comments.
* Fix [1004065]: UTF-8 encoding crashes in UCS-4 modejan.nijtmans2020-04-235-71/+60
|\
| * Another ucs2 testContraint no longer usedjan.nijtmans2020-04-221-2/+0
| |
| * Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with ↵jan.nijtmans2020-04-224-10/+4
| | | | | | | | TCL_UTF_MAX>4
* | test number reusedgp2020-04-221-3/+3
| |
* | Collection of tests checking read limit protections calling Tcl_UtfNext.dgp2020-04-221-0/+117
| |
* | Eliminate the -bytestring option of [testutfnext]. No caller needs anything ↵dgp2020-04-221-100/+100
| | | | | | | | else.
* | Restored a test constraint to tolerate [1004065] (maybe just in time to not ↵dgp2020-04-224-9/+12
|/ | | | need it anymore).
* Determine "testConstraint ucs2" without the need for a testcommand. Rename ↵jan.nijtmans2020-04-225-34/+30
| | | | "compat85" testConstraint to "ucs2", because that's what it actually is.
* Improve the "testutfnext" command. It can now accept both bytes and strings, ↵jan.nijtmans2020-04-211-104/+104
| | | | and it will test whether src[-1] is read without needing test-variations for it.
* remove merge litterdgp2020-04-211-1/+0
|
* Use new testing command to constrain tests to (sizeof(Tcl_UniChar) == 2)dgp2020-04-214-4/+16
| | | until bugs are fixed when (sizeof(Tcl_UniChar == 4).
* Pair every compat85 test with a fullutf test so that we cover all variants.dgp2020-04-201-30/+107
|
* Reconcile tests to the 8.5 branch history.dgp2020-04-201-1/+1
|
*-. merge 8.5dgp2020-04-191-44/+79
|\ \
| | * typodgp2020-04-191-1/+1
| |/
| * More test-cases. Fix wrong quoting in testcase utf-10.5jan.nijtmans2020-04-191-8/+44
| |
| * Clean-up testcases: Constant use of uppercase in hex-values. Use ↵jan.nijtmans2020-04-181-141/+137
| | | | | | | | "testbytestring" in stead of "bytestring". Mark tests not working with TCL_UTF_MAX>3 with "compat85"
* | Fix [c574e50a3b30e76f]: CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4jan.nijtmans2020-04-182-131/+129
|/
* More tests explicitly for Tcl_UtfNext near validity boundary U+110000dgp2020-04-171-0/+6
|
* [493dccc2de] Coverage that Tcl_UtfPrev also checks the upper range validity.dgp2020-04-171-0/+24
|
* Corrections for many tests, changing lead byte \xF4 to \xF2.dgp2020-04-171-46/+46
| | | | The tested sequences were always intended to be valid 4-byte sequences. Also a few errors with greedy \xHHHH .
* Backport a collection of tests for consistency between branches.dgp2020-04-171-5/+12
|
* Bring back the test utf-2.11; it fails in a TCL_UTF_MAX=4 build.dgp2020-04-171-0/+8
|
* More test-casesjan.nijtmans2020-04-171-0/+30
|
* More tests and fix for overlong handling in revised Tcl_UtfNext.dgp2020-04-161-1/+22
|
* merge 8.5dgp2020-04-161-0/+69
|\
| * More test coveragedgp2020-04-151-0/+42
| |
| * New tests checking Tcl_UtfPrev handling of overlong sequences. Bug demonstrated.dgp2020-04-151-0/+27
| |
* | Add test demonstrating that Tcl_UtfNext accepts overlong byte sequences,dgp2020-04-151-3/+3
| | | | | | which is in conflict with what Tcl_UtfToUniChar does.
* | Collection of coverage tests for Tcl_UtfNext.dgp2020-04-151-2/+244
|/
* Keep the tests consistent.dgp2020-04-141-8/+8
|
* Backport test-cases from 8.6jan.nijtmans2020-04-141-10/+30
|
* test numberingdgp2020-04-131-2/+5
|
* Repair tests to expect the right thing.dgp2020-04-131-2/+2
|
* merge 8.5dgp2020-04-131-0/+4
|\
| * New test demonstrating Tcl_StringCaseMatch is botched in its use ofdgp2020-04-131-0/+4
| | | | | | | | Tcl_UtfPrev. It doesn't consider multi-byte characters at all, let alone anything malformed. Good thing the call isn't needed at all.
* | merge 8.5dgp2020-04-131-1/+1
|\ \ | |/
| * Known bug test string-22.14 is not so hard to fix.dgp2020-04-131-1/+1
| |
* | merge 8.5dgp2020-04-131-8/+19
|\ \ | |/
| * Another test for [string trimright] that demonstrates its own failures,dgp2020-04-131-0/+15
| | | | | | not those of Tcl_UtfPrev.
| * Convert test to not directly use identity encoding.dgp2020-04-131-8/+4
| |
| * added test case covering [c61818e4c9] - string trim for not valid utf-8 ↵dgp2020-04-131-0/+17
| | | | | | | | sequence (mistakenly considers NTS-zero char as a continuation of utf-8 pair)
* | merge 8.5dgp2020-04-125-44/+48
|\ \ | |/
| * Stop direct use of the identity encoding in tests.dgp2020-04-123-5/+5
| |