summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-071-40/+40
| | | | simplifications/optimizations. No functional change.
* Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵jan.nijtmans2017-06-063-20/+56
| | | | or TCL_UTF_MAX=6
* Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵jan.nijtmans2017-06-061-1/+1
|\ | | | | | | in character tests, comment fixes. No change in functionality.
| * [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵jan.nijtmans2017-06-061-0/+25
| | | | | | | | documented.
* | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-06-021-0/+25
| | | | | | | | UTF-8 can inject unexpected characters
* | Fix test-case numberingjan.nijtmans2017-05-181-1/+1
| |
* | Fix [6ca52aec14e0b33543d3cd9895f060b852ac4dbc|6ca52aec14]: HTTP package: ↵jan.nijtmans2017-05-091-0/+8
|\ \ | | | | | | | | | | | | Memory leak if client requests "Connection: close" but server responses with "Connection: keep-alive" http: 2.8.10 -> 2.8.11
| * | fix chan leak with http keepalive vs close (bug [6ca52aec14])bug_6ca52aec14aspect2017-02-121-0/+8
| | |
* | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-0/+12
|\ \ \ | | |/ | |/|
| * | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-0/+12
| | |
* | | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-031-1/+1
|\ \ \ | |/ / | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
| * | Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-031-1/+1
| | | | | | | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
* | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-0/+10
|\ \ \ | |/ /
| * | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-0/+10
| | |
* | | Fix [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl pipes ↵jan.nijtmans2017-05-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | prevents windows threads from starting up. Patch by sebres (Dipl. Ing. Sergey G. Brester) (also fix duplicate test-case number in link.test)
* \ \ \ Test for [f34cf83dd0].dgp2017-04-281-0/+3
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Test for [f34cf83dd0].dgp2017-04-281-0/+3
| | |
* | | [50750c735a] Fix for uninit memory handling issue in zlib transforms.bug_50750c735adkf2017-04-251-1/+1
| | |
* | | Repair revised tests that failed.dgp2017-04-172-3/+3
| | |
* | | Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵jan.nijtmans2017-04-144-24/+48
| | | | | | | | | | | | | | | format octal numbers: it isn't. Better use "%#o". Add tests for "format" and "scan" corner-cases which weren't documented (except in TIP's) neither had tests before.
* | | Revert recent commit [80252e0aed]. TIP 237 is clear that %llu is invalid.dgp2017-04-122-19/+0
| | |
* | | merge fix-42202ba1e5ff566esebres2017-04-121-0/+39
|\ \ \
| * | | bug fix for [42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c]: segfault by coro injectfix_42202ba1e5ff566esebres2017-04-041-0/+39
| | | | | | | | | | | | | | | | rewritten callback for ::tcl::unsupported::inject, without leave the interpreter in unusable state (inaccurate environment exchange by adding eval callback), test covered now.
* | | | Fix sporadically errors in zlib-8.x and socket tests, cherry-picked from ↵jan.nijtmans2017-04-122-8/+23
| | | | | | | | | | | | | | | | "fix-1997007" branch. Credit to "sebres"!
* | | | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵jan.nijtmans2017-04-052-0/+19
| | | | | | | | | | | | | | | | doesn't work. Also added new test-cases showing the expected behavior.
* | | | [900cb0284bc] Ensure that masking pseudo-methods used for export management ↵dkf2017-03-291-0/+37
| | | | | | | | | | | | | | | | are not introspectable directly. [cherrypick]
* | | | New(ish) test interp-14.11 was missing its -cleanup.dgp2017-03-221-0/+2
|/ / /
* | | Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵kbk_clock_encoding_ensemblesKevin B Kenny2017-03-142-3/+3
| | | | | | | | | | | | interps
* | | expand test constraints of the load-8.x test cases (wrap setup ↵sebres2017-03-071-9/+16
| | | | | | | | | | | | prerequirements as new constraint "teststaticpkg_8.x")
* | | chanio.test: [win] fix test case (setup set translation to "lf", because of ↵sebres2017-03-061-1/+1
| | | | | | | | | | | | default translation on windows "crlf")
* | | nre.test: add constraint for nre-0.1 (testnreunwind may be not available)sebres2017-03-061-2/+4
| | |
* | | zlib.test: fix sporadic errors:sebres2017-03-061-2/+6
| | | | | | | | | | | | - zlib-9.2 hangs because of too short update, if processed another event; - zlib-8.8 wrong non-blocking pipe usage - [string length $compressed] may return sporadically values smaller as expected (< 222)
* | | Might as well number tests more conventionally.bug_25842c161fdkf2017-02-261-3/+3
| | |
* | | Make tests produce more meaningful information when they fail.dkf2017-02-261-5/+11
| | |
* | | better tests for finalizationaspect2017-02-111-0/+24
| | |
* | | zlib stream finalize calls deflate with no input - this case (and this caseaspect2017-02-111-0/+12
| |/ |/| | | | | | | only) must be allowed. Fixes 2nd issue in [25842c161f], introduced by [c1aff52ef3]
* | Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-0/+9
|\ \ | |/ | | | | first-argument NaN shortcut is too aggressive
| * Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-0/+9
| | | | | | | | first-argument NaN shortcut is too aggressive
* | Test-cases which require Tcl 8.5 (or 8.6) should continue to work unmodified ↵jan.nijtmans2017-01-176-30/+30
| | | | | | | | in Tcl 9.0. The "novem" branch will show whether this continues to work.
* | Fix clock test-cases: Make test clock-67.5 time zone independent - execution ↵sebres2017-01-091-2/+2
| | | | | | | | fails in the time zones below gmt
* | Fix [39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dotjan.nijtmans2017-01-011-0/+84
|\ \ | |/
| * Little tweak: Decimal dot's should be allowed as well as first part. ↵jan.nijtmans2016-12-231-2/+2
| | | | | | | | Test-case for that as well.
| * Handle other invalid sequences, like "1234e" or "-567e+", that could be the ↵jan.nijtmans2016-12-231-0/+21
| | | | | | | | start of a valid real number.
| * Re-based to core-8-5-branch. jan.nijtmans2016-12-221-0/+63
| |\ | | | | | | Proposed fix for [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e], which doesn't need modifications to Double/Integer valid string representations.
| | * Merge trunk. Implement sequences like "0x", "0b" and "0o" as well. And also ↵jan.nijtmans2016-12-221-0/+84
| | |\ | | | | | | | | | | | | the "." for doubles and floats.
| | * | Experimental (partial) fix for ↵jan.nijtmans2016-12-211-6/+6
| | |/ | | | | | | | | | | | | | | | [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dot. This handled minus and plus only, not other possible errors. Will need a TIP, because the boolean type is extended to consider '-', '+' and 'o' (necessary for being able to type 'on' or 'off') as valid booleans Dot, and integer prefixes (such as 0x) not handled yet, should be handled completely different.
| | * Add back testcase winFile-4.10. This test passes anyway, even though it ↵jan.nijtmans2016-12-151-0/+15
| | | | | | | | | | | | appeared to be Windows 2000 only.
| | * Add "file join $grandParentDir tcl8.? library" as possible path for a valid ↵jan.nijtmans2016-12-155-88/+45
| | | | | | | | | | | | | | | init.tcl. Some simplifications in use of test restrictions.
| | * Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jn_wide_printfjan.nijtmans2016-12-141-0/+25
| | | | | | | | | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases.
| | * more internal use of size_t (in stead of int)jan.nijtmans2016-11-291-1/+1
| | |