summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Backport changes in tcltest package from higher Tcl versions.jan.nijtmans2020-07-202-7/+7
| | | | | | | | | | | | Rename (internal, undocumented) tcltest::loadIntoSlaveInterpreter into tcltest::loadIntoChildInterpreter tcltest 2.5.1 -> 2.5.3
| | * Testcase cleanup: Sync with testcases in core-8-6-branchjan.nijtmans2020-05-131-75/+54
| | |
* | | Whitespace changes only.kjnash2020-07-221-7/+5
| | |
* | | In ::safe::interpFindInAccessPath, ::safe::interpAddToAccessPath, add a ↵kjnash2020-07-211-0/+6
| | | | | | | | | | | | check that the interpreter belongs to the Safe Base. Add comments on why this is not done for ::safe::interpDelete.
* | | Adapt Safe Base for interpreter names with namespace separators. Add a test ↵kjnash2020-07-211-0/+17
| | | | | | | | | | | | and revise safe(n). Fixes bug [693851].
* | | File tests/safe.test - rearrange tests - move tests of command/package ↵kjnash2020-07-202-95/+193
| | | | | | | | | | | | loading that use Tcl files to new file tests/safe-stock86.test; renumber tests 9.8+ and add test 9.8 to replace old 5.1; move tests 7.0* to 5.*.
* | | Add explanatory comments to safe::AliasGlobkjnash2020-07-181-0/+49
| | |
* | | Tidying tests/safe.testkjnash2020-07-181-58/+70
| | |
* | | Merge 8.6kjnash2020-07-161-0/+1
|\ \ \ | |/ /
* | | Bugfix tests/safe.test. Harden tests safe-9.20 to safe-9.24 against ↵kjnash2020-07-151-156/+151
| | | | | | | | | | | | indeterminate order of glob matches. Audit use of glob and tcl::tm in modified tests for cases with multiple matches. Simplify test comparison patterns.
* | | Bugfix in library/safe.tcl - AliasGlob passes -join to glob inappropriately; ↵kjnash2020-07-151-4/+30
| | | | | | | | | | | | pass new test safe-13.7a
* | | Bugfix in library/safe.tcl - when deleting a safe interpreter, delete its ↵kjnash2020-07-151-2/+10
| | | | | | | | | | | | sub-interpreters cleanly; pass revised test safe-7.3
* | | Comments only.kjnash2020-07-131-1/+0
| | |
* | | Add tests to tests/safe.testkjnash2020-07-131-2/+71
| | |
* | | Add new tests to tests/safe.test.kjnash2020-07-131-0/+544
| | |
* | | Add example files for use in tests/safe.test; add tests of the files themselves.kjnash2020-07-1312-0/+194
|/ /
* | Fix 4 test-cases, which fail when running from the western hemispherejan.nijtmans2020-07-111-4/+4
| |
* | Fix test-cases clock-34.65 and clock-34.66, they seem to be affected by ↵jan.nijtmans2020-07-101-4/+4
| | | | | | | | summertime
* | Fix [5019748c73]: FreeScan resp. Oldscan does not recognize positive time ↵jan.nijtmans2020-07-101-37/+64
|\ \ | | | | | | | | | zone offset
| * | Proposed fix for [5019748c73]: FreeScan resp. Oldscan does not recognize ↵jan.nijtmans2020-07-091-37/+64
| | | | | | | | | | | | positive time zone offset like "31 Jan 14 23:59:59 +0100"
* | | Fix utf-1.13 testcase for TCL_UTF_MAX>3jan.nijtmans2020-07-101-1/+1
| | |
* | | Addendum to [60fab362ce]: "Also don't allow surrogates in \U??????". This ↵jan.nijtmans2020-07-101-2/+2
|/ / | | | | | | change was only meant for builds with TCL_UTF_MAX > 3.
* | Merge 8.6jan.nijtmans2020-07-081-2/+82
|\ \
| * \ merge zlib-chan-f70ce1fead, [f70ce1fead] - rewritten and optimized inflate:sebres2020-06-241-2/+82
| |\ \ | | | | | | | | | | | | | | | | default read ahead limit set to 4K (instead of 1); better SF/BO prevention; code simplification, no interim copy/move buffers, no decompression d-string, the inflate occurring in single step (ResultDecompress combines ResultGenerate and ResultCopy); better handling in non-blocking mode (also recognizes or distinguish no data/EAGAIN cases).
| | * | zlib.test: replaces tests/assets/zlib.bin with inlined version (creating ↵sebres2020-06-231-10/+34
| | | | | | | | | | | | | | | | test file on demand), use temp files (instead of current directory) for interim files
| | * | Added two tests demonstrating that the tickets [8af92dfb66] (bad stream ↵aku2020-06-232-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expansion) and [f70ce1fead] (multi-stream decoding without readahead limit shenanigans) are fixed. Verified that the tests fail with commit [4eb66645d6], just before the zlib fixes. Tweaked the zlib manpage paragraphs about -limit. Tweaked some code comments. Fixed typos in description of two unrelated zlib tests.
* | | | Merge 8.6. re-generate tclParse.cjan.nijtmans2020-06-232-2/+2
|\ \ \ \ | |/ / /
| * | | no functional changes (closed bracket in comment, lint concerns only)sebres2020-05-292-2/+2
| | | |
* | | | clock-iso-2.patchjan.nijtmans2020-05-271-0/+16
| | | |
* | | | Proposed soution for [a1bd37b719]: clock (free)scan of ISO 8601 timestamp ↵jan.nijtmans2020-05-271-2/+10
|/ / / | | | | | | | | | | | | with literal T behaves strange (I like it!)
* | | Tiny fix for TCL_UTF_MAX=4 build only: Since Tcl_UtfNext() verifies 4 bytes ↵jan.nijtmans2020-05-181-9/+3
| | | | | | | | | | | | for lead bytes F0-F5, Tcl_UtfCharComplete() should guarantee that those 4 bytes are available, not 3.
* | | Fix [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytesjan.nijtmans2020-05-132-135/+78
|\ \ \
| * \ \ Merge testcase cleanup. Make Tcl_UtfPrev() behave the same for any ↵jan.nijtmans2020-05-121-19/+18
| |\ \ \ | | | | | | | | | | | | | | | TCL_UTF_MAX value, since we didn't figure out yet how it should behave for TCL_UTF_MAX>3.
| * | | | Fix "knownBug" utf-4.11. Turns out a few other testcases where still not ↵jan.nijtmans2020-05-121-174/+54
| | | | | | | | | | | | | | | | | | | | correct, now they are. Make next/prev behavior the same for all TCL_UTF_MAX values, since the exact behavior for TCL_UTF_MAX>3 should be worked out further for Tcl 8.7 first, then everything agreed upon can be backported.
| * | | | Merge 8.6. Mark testcase utf-4.11 as "knownBug": this one still doesn't give ↵jan.nijtmans2020-05-114-113/+125
| |\ \ \ \ | | | | | | | | | | | | | | | | | | the right answer. Add testcase 4.14 with similar corner-case, this one is OK.
| * | | | | Change order of some testcases, matching 8.6jan.nijtmans2020-05-071-12/+12
| | | | | |
* | | | | | merge 8.5sebres2020-05-131-0/+18
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | / | | |_|_|/ | |/| | |
| * | | | clock.test: more tests for negative month offsets over threshold of a year ↵sebres2020-05-131-0/+18
| | | | | | | | | | | | | | | | | | | | (important for C-implementation like clock-speedup branch, see https://github.com/sebres/tclclockmod/issues/20#issuecomment-627704993)
* | | | | Merge 8.5jan.nijtmans2020-05-121-66/+59
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | |
| * | | Unsplit some test-cases and renumber, for testcase which give the same ↵jan.nijtmans2020-05-121-100/+46
| | | | | | | | | | | | | | | | results for different TCL_UTF_MAX values.
* | | | Tweak the Tcl_UtfPrev() implementation for TCL_UTF_MAX=4. This fixes 10 ↵jan.nijtmans2020-05-111-34/+28
| | | | | | | | | | | | | | | | testcases in 4 groups (utf-7.10, utf-7.15, utf-7.40 and utf-7.48) , where Tcl_UtfPrev() didn't jump to the beginning of the UTF-8 character, even though there was no limitation which prevented that. So, this is actually a bug-fix for the TIP #389 implementation.
* | | | occurance -> occurrence.jan.nijtmans2020-05-114-14/+14
| | | |
* | | | Tweak Invalid() function: No need for "return 0" twice in the function. jan.nijtmans2020-05-101-7/+7
| | | | | | | | | | | | For start bytes F0-F4, case TCL_UTF_MAX=4, Tcl_UtfToUniChar() reads 3 bytes but only advances 1 byte. So Tcl_UtfCharComplete() must make sure 3 bytes are available, not 1. Adapt Tcl_UtfCharComplete() accordingly. No change for TCL_UTF_MAX=[3|6]
* | | | Merge bug-31aa44375d branch. Mark encoding-15.5 testcase as "knownBug". ↵jan.nijtmans2020-05-102-13/+4
|\ \ \ \ | | | | | | | | | | | | | | | Discussion is not over yet, but we need a base for comparision in order to come up with alternatives.
| * \ \ \ Rebase to latest core-8-6-branch.jan.nijtmans2020-05-082-13/+9
| |\ \ \ \ |/ / / / /
| * | | | Merge changes from parent branchdgp2020-05-071-21/+33
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Merge 8.6jan.nijtmans2020-05-071-21/+33
| | |\ \ \
| * | | | | split and constrain the failing test.dgp2020-05-071-1/+6
| |/ / / /
| * | | | merge 8.6dgp2020-05-071-2/+8
| |\ \ \ \
| * \ \ \ \ Merge 8.6. Some more tweaks to Tcl_UtfPrev(), so it cannot jump back 4 bytes ↵jan.nijtmans2020-05-071-543/+515
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | in "utf16" build any more.