summaryrefslogtreecommitdiffstats
path: root/tests/io.test
Commit message (Collapse)AuthorAgeFilesLines
* Bring back the common facilities of the tcltests "package", but use a lessdgp2022-11-181-0/+1
| | | fragile method to gain access to them.
* Test suite hygienedgp2022-11-141-1/+0
| | | | | - Several tests missing the "testdstring" constraint - [package require tcltests] is fragile, and almost all test files that had it were not making use of anything it provides. Removed.
* (adapted) Testcase and fix for [1073daf086]: Bug in handling illegal utf-8 ↵jan.nijtmans2022-09-121-2/+2
| | | | sequence
* Ticket [6978c01b65]: as utf-8 is "special", also add invalid/incomplete ↵oehhar2022-09-121-6/+48
| | | | sequence test cases for shiftjis.
* testcase cleanupjan.nijtmans2022-09-121-78/+84
|
* Tests io-75.x tolerant encoding: correct indention and commentsoehhar2022-09-111-29/+29
|
* Ticket [6978c01b65]: add file encoding test io-75.3 with incomplete ↵oehhar2022-09-101-2/+23
| | | | multibyte sequence. This may fail in TCL 9.
* Ticket [6978c01b65]: add file encoding tests, which should fail in 9.0, but ↵oehhar2022-09-091-0/+33
|\ | | | | | | are ok in 8.6 and 8.7: write unrepresentable character and read invalid multi-byte character
| * Ticket [6978c01b65]: add file encoding tests, which should fail in 9.0, but ↵oehhar2022-09-091-0/+33
| | | | | | | | are ok in 8.6 and 8.7: write unrepresentable character and read invalid multi-byte character
* | Fix a case of lf not being flushed in certain cases when the crlf sequence ↵max2022-08-041-0/+9
|/ | | | gets split across two buffers on channels in crlf mode with line buffering [https://core.tcl-lang.org/tcllib/tktview?name=c9d8a52fe]
* extends test io-29.36.2 for better illustration when we'll get extra NL - if ↵sebres2022-07-221-2/+6
| | | | no "\r" in last buffer, so only EOF causes exit from gets (flag INPUT_SAW_CR gets reset incorrectly)
* fixes logical error in test io-29.36.1 (translation {auto} causes that ↵sebres2022-07-221-2/+2
| | | | answer "client" reaches the server-side as "client\r\n", and `gets` by translation {binary} behaves nearly identical to {lf} mode, so sends "really client\r?\r" in the next question), switching to {auto lf} now
* rebase (merged with current 8.6)sebres2022-07-221-0/+89
|\
| * added tests illustrating bug [b3977d199b]sebres2022-07-211-0/+89
| |
* | IntRep -> InternalRep. Internal changes only.jan.nijtmans2021-10-191-1/+1
| |
* | Use {} braces in more "expr" expressions.jan.nijtmans2021-01-281-18/+18
| |
* | Merge 8.5 (syncing "tcltest" package). Use more uppercase hex representationsjan.nijtmans2020-12-041-76/+76
|\ \
* | | two more 0o??? notationsjan.nijtmans2020-12-031-2/+2
| | |
* | | Fixed some tests, added trial macOS builddkf2020-11-141-4/+7
| | |
* | | Add "{}" around many "expr" commands in testcases. Also in doc/expr.njan.nijtmans2020-10-301-3/+3
| | |
* | | Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-5/+5
| | | | | | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | | Merge 8.5 jan.nijtmans2020-09-021-2/+3
|\ \ \ | |/ / | | | Mark io-46.1 and io-50.5 as "notOSX", since they sometimes fail in Travis
* | | Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-011-3/+3
| | |
* | | And remove the other $ and do the test slightly differently. Inability to ↵culler2020-08-171-1/+1
| | | | | | | | | | | | test locally is a challenge.
* | | Add the missing $.culler2020-08-171-1/+1
| | |
* | | Try to make io-50.6 more robust on the Travis macOS VMculler2020-08-171-2/+9
| | |
* | | amend to [8054e19451]: clean up timeout timer event (avoid timing issues on ↵sebres2020-08-101-0/+1
| | | | | | | | | | | | further tests)
* | | Remove use of (always enabled) "openpipe" constraint. jan.nijtmans2020-08-101-80/+80
| | | | | | | | | | | | Add "testservicemode" constraint. Change a single "chan close" into a "close" in a test-case
* | | More places where vwait needs to be used instead of update.culler2020-08-101-3/+3
| | |
* | | One more vwait.culler2020-08-081-1/+3
| | |
* | | Add and use testservicemode command; replace update by vwaitculler2020-08-081-38/+61
| | |
* | | Experiment with io-50.1 on Travisculler2020-08-071-4/+5
| | |
* | | Merge 8.6jan.nijtmans2020-08-031-4/+7
|\ \ \
| * | | Testcase cleanup: transform *io-50.* testcases to new test syntaxjan.nijtmans2020-08-031-60/+75
| | | |
* | | | Convert test-cases to do proper setup/cleanupjan.nijtmans2020-07-221-17/+29
| | | |
* | | | Re-enable event-1.1, io-50.? and chan-io-50.? test-cases, trying to get a ↵jan.nijtmans2020-07-211-46/+46
|/ / / | | | | | | | | | hand at the problem [f586089a2b]
* | | Merge 8.5.jan.nijtmans2020-07-201-18/+15
|\ \ \ | |/ / | | | Mark testcases io-50.* nonPortable: they fail too often in travis builds.
| * | Attempt to fix [1004065] for TCL_UTF_MAX=4. Disallow building Tcl with ↵jan.nijtmans2020-04-221-3/+1
| | | | | | | | | | | | TCL_UTF_MAX>4
| * | Determine "testConstraint ucs2" without the need for a testcommand. Rename ↵jan.nijtmans2020-04-221-2/+1
| | | | | | | | | | | | "compat85" testConstraint to "ucs2", because that's what it actually is.
| * | Use new testing command to constrain tests to (sizeof(Tcl_UniChar) == 2)dgp2020-04-211-1/+4
| | | | | | | | | until bugs are fixed when (sizeof(Tcl_UniChar == 4).
* | | no functional changes (closed bracket in comment, lint concerns only)sebres2020-05-291-1/+1
| | |
* | | merge 8.5sebres2019-11-141-1/+1
|\ \ \ | |/ /
| * | remove unneeded constraintsebres2019-11-141-1/+1
| | |
* | | Merge 8.5jan.nijtmans2019-09-101-2/+2
|\ \ \ | |/ /
| * | Don't use constraints like unixOrPc anymore, use unixOrWin (for example)jan.nijtmans2019-09-101-2/+2
| | |
* | | Merge 8.5jan.nijtmans2019-08-271-1/+1
|\ \ \ | |/ /
| * | One more knownMsvcBug marker (seen in Travis). Properly export ↵jan.nijtmans2019-08-271-1/+1
| | | | | | | | | | | | ::tcltest::testConstraint in cmdMZ.test
| * | Backport some "knownMsvcBug" markers from 8.6: Those indicate test-cases the ↵jan.nijtmans2019-08-201-41/+42
| | | | | | | | | | | | sporadically fail in the Travis Windows environment.
* | | Mark 3 testcases as knownMsvcBug. See: [e484a8407cb9ec45]: pipe: ↵jan.nijtmans2019-08-111-2/+3
| |/ |/| | | | | time-related sporadic hangs in io/chan-io tests
* | fixed missing dependency in test-cases "*io-60.1" (constraint-related) - ↵sebres2019-01-081-2/+6
| | | | | | | | missed load of tcltest-library in sub-process