summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Starting with Unicode 6.3, the mongolian vowel separator (U+180e) is no ↵jan.nijtmans2014-07-111-15/+15
| | | | | | longer a whitespace, but for Tcl it still is. "NEL/Next Line" (U+0085) should have been a Unicode whitespace, but never was in Tcl. This is corrected in Tcl 8.6, but for legacy reasons not in Tcl 8.5. Update documentation accordingly, and extend test-cases for Unicode 7 compliance.
* dup test namedgp2014-07-101-1/+1
|
* [c31ca233ca] Fix TclGetsObjBinary() so that each [gets] rediscovers whetherdgp2014-07-021-0/+20
| | | a nonblocking channel is blocked.
* Draft test for [1758a0b603].dgp2014-06-131-0/+41
|
* Test socket-2.12 covers the DiscardOutput() update.dgp2014-06-051-1/+39
|
* When too many chars are read by ReadChars() and we trim the limits todgp2014-06-051-0/+33
| | | | | | | get it right on the next pass, don't forget the TCL_UTF_MAX padding demanded by Tcl_ExternalToUtf(). (Thanks for finding that, aku!) Fix the factorPtr management. It was just totaly wrong. The factor should be a ratio of the record of bytes read to the record of chars read. With those fixes, new test io-12.6 covers the "too many chars" code.
* Increase size of test io-29.34 so that it more portably tests the case wheredgp2014-05-281-2/+2
| | | | the OS networking machinery gets backed up and blocks. Added several TODO comments on potential simplifications.
* Comment out lines of test io-53.4 that appear to do nothing of any value.dgp2014-05-241-5/+5
|
* Repair broken tests iogt-2.[123].dgp2014-05-171-0/+3
| | | | | | What happened is that now that EOF flags no loger leak acros channel stack layers, an EOF in the bottom channel isn't detected in the top one until the ChanRead call at the top level actually returns 0 bytes. This causes one more query/ma
* merge 8.5dgp2014-05-162-0/+82
|\
| * merge 8.5bug_io_32_11dgp2014-05-165-18/+54
| |\
| | * Portable test to demo bug otherwise seen only on Windows.dgp2014-05-151-0/+20
| | |
| | * Fix [3118489]: NUL in filenames. (On Windows, protect against invalid use of ↵jan.nijtmans2014-05-151-0/+3
| | | | | | | | | | | | ':' in filenames as well)
| * | Merge completion of dgp-read-bytes branch.dgp2014-05-165-10/+232
| |\ \
| * | | More tests to demo the bug more directly.dgp2014-05-161-0/+39
| | | |
| * | | Branch to demo bug introduced in the parent commit.dgp2014-05-151-0/+20
| | | |
* | | | merge 8.5dgp2014-05-141-0/+3
|\ \ \ \ | | |_|/ | |/| |
| * | | Fix 3 test-cases which started failing on Windowsjan.nijtmans2014-05-141-0/+3
| | | |
* | | | Salvaged what was left of value in the dgp-read-bytes-detour branch.dgp2014-05-131-2/+14
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Refactored much management of the BLOCKED and EOF flags into ChanRead() then began repairing some of the logic about them. Tests iogt-2.* now fail because they've been crafted as experiments recording the fine detail of reflected channel driver calls, and fixing the management of channel flags is changing that.
| * | | Correct namespace bugs in normally skipped tests.dgp2014-03-211-6/+8
| | | | | | | | | | | | Constrain them as "knownBug" rather than "unknownFailure".
| * | | Added comment explaining the "knownBug"dgp2014-03-211-0/+9
| | | |
| * | | Convert "impossible" test to a "knownBug" test. Exposes a segfault!dgp2014-03-211-4/+5
| | | |
| * | | Restore default suppression of large file test.dgp2014-03-211-1/+1
| | | |
| * | | io-34.21 - fix bugs in normally skipped test.dgp2014-03-211-4/+4
| | | | | | | | | | | | io-35.18b - knownBug is not buggy on this branch.
* | | | Restore the largefileSupport constraint on Darwin, where tests (chan)io-34.21dgp2014-05-122-2/+2
| | | | | | | | | | | | take an unbearable 90 seconds each to complete.
* | | | Correct namespace bugs in normally skipped tests.dgp2014-05-091-6/+8
| | | | | | | | | | | | Constrain them as "knownBug" rather than "unknownFailure".
* | | | Added comment explaining the "knownBug" in iogt-6.1dgp2014-05-091-0/+9
| | | |
* | | | Tests (chan)io-34.21 are constrained for largefileSupport, and that'sdgp2014-05-092-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled by default, which means never tested, which means the ridiculous bugs in them are never found and fixed. Fixed the bugs, changed the default. Large File Suppport (4GB) is commonplace now. Let those without it suffer a few failing tests reporting that fact to them.
* | | | Test iocmd-32.1 is not "impossible" but after writing it properly itdgp2014-05-091-5/+4
| | | | | | | | | | | | does segfault trying to use a deleted interp. Fixed.
* | | | Merge the reforms of dgp-read-bytes branch into 8.5+ releases.dgp2014-05-081-1/+157
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Large overhaul of I/O read operations - Protects integer overflow of buffers, reusing append machinery - Forces -buffersize changes to take place when commanded - Uses assertions to simplify code in "can't happen" situations - Eliminated duplication of -translation processing - Fixes bugs io-35.18b and io-35.20
| * | | merge 8.5dgp2014-05-061-1/+20
| |\ \ \ | |/ / / |/| | |
| * | | merge 8.5dgp2014-05-021-1/+1
| |\ \ \
| * \ \ \ merge 8.5dgp2014-05-011-0/+33
| |\ \ \ \
| * \ \ \ \ merge 8.5dgp2014-04-211-0/+32
| |\ \ \ \ \
| * \ \ \ \ \ merge 8.5dgp2014-04-164-0/+110
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | merge 8.5dgp2014-03-201-10/+10
| |\ \ \ \ \ \
| * | | | | | | Test for the bug I just committed.dgp2014-03-101-0/+14
| | | | | | | |
| * | | | | | | Bring CRLF translation in parallel with others.dgp2014-03-101-0/+14
| | |_|_|_|_|/ | |/| | | | |
| * | | | | | another coverage test.dgp2014-02-281-0/+15
| | | | | | |
| * | | | | | merge 8.5dgp2014-02-261-0/+71
| |\ \ \ \ \ \
| * | | | | | | More coverage tests and bug fixes.dgp2014-02-261-0/+56
| | | | | | | |
| * | | | | | | Merge the stricter binary mode experiment.dgp2014-02-241-1/+1
| |\ \ \ \ \ \ \
| * | | | | | | | Next coverage test to expose another refactoring error.dgp2014-02-191-0/+14
| | | | | | | | |
| * | | | | | | | Another coverage test that reveals refactoring error.dgp2014-02-181-0/+14
| | | | | | | | |
| * | | | | | | | coverage test for -translation crdgp2014-02-181-0/+14
| | | | | | | | |
| * | | | | | | | Coverage test for -translation auto handling of INPUT_SAW_CR flag.dgp2014-02-181-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Demonstrates refactor failure.
* | | | | | | | | Have to manage the lifetime of the self handle in testchannel transform.dgp2014-05-061-1/+0
| | | | | | | | |
* | | | | | | | | Segfaulting test (backport of iortrans-5.11).dgp2014-05-051-1/+21
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Backport channel self restacking support. (Test iogt-2.4).dgp2014-05-021-1/+1
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Stop the segfault in iogt-2.4. First by changing the UpdateInterest()dgp2014-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | call that triggers it. "downChanPtr" may no longer be the right argument at that point. Second, after ending the segfault, the test became an infinite loop (nested unstacking?! whoa.), so revised the test to one that terminates (and passes). Left behind a comment that the recursive unstacking case may require more examination.