summaryrefslogtreecommitdiffstats
path: root/tests/io.test
Commit message (Collapse)AuthorAgeFilesLines
* testcase cleanupjan.nijtmans2023-08-011-27/+48
|
* Branch meant for bug-fixing [5be203d6ca]: io-7.3 and chanio-7.3 fail in ↵jan.nijtmans2023-07-031-2/+1
| | | | debug mode
* Temporary disable tests io-7.3 and chanio-7.3, which fail in debug mode. ↵jan.nijtmans2023-07-031-1/+2
| | | | Ticket [5be203d6ca] created.
* Backport fix [66ffafd309]. DBCS infinite loop on invalid encodingapnadkarni2023-07-021-1/+1
|
* Merge 8.6 - fix tests - hardcoded port and wsl.apnadkarni2023-06-191-5/+6
|\
| * Fix hardcoded port numbers causing Windows failures with hyperv. Disableapnadkarni2023-06-191-7/+10
| | | | | | file perm test for WSL.
| * Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-3/+3
| | | | | | corrections in history.tcl and tcltest.test.
* | Backport IO-related changes from Tcl 9.0. Needed for preparation of TIP #653jan.nijtmans2023-05-301-303/+421
| |
* | Cherry-pick: Rearrange code blocks in DoReadChars to do less work when ↵jan.nijtmans2023-04-121-2/+6
| | | | | | | | returning early
* | Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-3/+3
| | | | | | corrections in history.tcl and tcltest.test.
* | Starting with [51d813943bcaf835], chan-io-52.10 and io-52.10 are failing on ↵jan.nijtmans2023-04-041-1/+1
| | | | | | | | the Windows (with Visual Studio) environment. For now, disable the testcases.
* | Fix for [9ca87e6286262a62], sync fcopy buffers input in ReadChars().pooryorick2023-04-041-1/+27
| |
* | Merge 8.7. Go back to lowercase for POSIX err-messagesjan.nijtmans2023-03-271-17/+17
|\ \
* \ \ Merge 8.7jan.nijtmans2023-03-261-1/+1
|\ \ \ | |/ /
* | | Experimental fix for [fa128568a5]: EOVERFLOW does not necessarily mean "file ↵jan.nijtmans2023-03-251-18/+18
|/ / | | | | | | | | too big" Let's synchronize the POSIX error-messages with what Linux gives nowadays.
* | Remove knownProfileBug constraint: this is already fixedjan.nijtmans2023-03-221-4/+1
| |
* | Some test-cases, which test for partial read without throwing EILSEQ ↵jan.nijtmans2023-03-211-5/+5
| | | | | | | | immediately, only work with ""-blocking 0". That's expected.
* | Proposed fix for [1bedc53c8c]: synchronous [read] with -strictencoding does ↵jan.nijtmans2023-03-201-0/+16
| | | | | | | | not produce an error on invalid input
* | Proposed fix for [154ed7ce56]: Tcl 9: [gets] on -strictencoding 1 configured ↵jan.nijtmans2023-03-201-2/+18
| | | | | | | | | | channel. Extracted from TIP #657 branch (better keeping bug-fix separate from enhancements)
* | Fix [bdcb5126c0]: Failed assertion in test chan-io-7.3jan.nijtmans2023-03-201-1/+1
| |
* | Fix [d7fd37ebd9]: handling leftover prefix in table encodingjan.nijtmans2023-03-201-1/+1
| |
* | Change -encodingprofile to -profileapnadkarni2023-03-161-22/+22
| |
* | Merge 8.7apnadkarni2023-03-141-2/+2
|\ \
| * | Always output 2 hex characters in "unexpected byte sequence" exception message. jan.nijtmans2023-03-121-1/+1
| | | | | | | | | make testcases io-38.3/chan-io-38.3 independant from system encoding
| * | merge 8.6dgp2023-03-101-1/+1
| |\ \ | | |/
| | * Make test less fragile to changing set of options.dgp2023-03-101-1/+1
| | |
* | | Merge 8.7apnadkarni2023-03-101-4/+14
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2023-03-091-4/+11
| |\ \ | | |/
| | * Adapt 2 testcases (io-39.16/io-39.16a), showing that "-encoding" can be ↵jan.nijtmans2023-03-091-4/+11
| | | | | | | | | | | | shortened to "-en", but not to "-e" (because there is -eofchar too)
* | | Merge 8.7 - disable tests on WSLapnadkarni2023-03-021-2/+4
|\ \ \ | |/ /
| * | Disable more file permissions tests for WSL (not supported in WSL/NTFS)apnadkarni2023-03-021-2/+4
| | |
* | | Bug [e778e3f804]. Fix error message for invalid profile name.apnadkarni2023-03-021-1/+1
| | |
* | | Merge 8.7apnadkarni2023-02-281-0/+21
|\ \ \ | |/ /
| * | Put back testcase io-52.20, and re-fix [4a7397e0b3]jan.nijtmans2023-02-281-0/+21
| | |
* | | Merge 8.7apnadkarni2023-02-281-63/+0
|\ \ \ | |/ /
| * | Reverted [d156af9fb76dd2f4] and removed tests io-52.20 io-75.6 io-75.7, as thispooryorick2023-02-281-63/+0
| | | | | | | | | | | | | | | | | | | | | | | | commit, intended to fix issue [b8f575aa2398b0e4], breaks the semantics of [read] and [gets]. Such a change would require an accepted TIP. See [b8f575aa2398b0e4] for further discussion. jn: @pouryorick See [b8f575aa2398b0e4] for the reason why this commit is not appropriate: It gets core-8-branch back in the buggy state it was, without even providing a real solution everyone agrees on. You shouldn't revert my patch just because I reverted yours. pooryorick: As I explained, the reason for this reversion is that it hard-codes an unapproved change in the semantics of [read] and [gets] into the test suite. Jan, your statement that it's a "revenge" reversion is false. I spent a month trying to find some alternative to this reversion before actually performing it. A commit that codifes in its tests changes in semantcs to [read]/[gets] simply shouldn't be on core-8-branch.
* | | Merge 8.7apnadkarni2023-02-241-8/+8
|\ \ \ | |/ /
| * | Merge 8.7. Adapt more testcases not to depend on the system encoding any morejan.nijtmans2023-02-221-2/+2
| |\ \
| * | | Some test-cases start failing in 9.0-compatibility-mode ↵jan.nijtmans2023-02-211-6/+6
| |/ / | | | | | | | | | (-DTCL_NO_DEPRECATED), if the system encoding is one with gaps. So, better use iso8859-1 for those testcases
* | | -strictencoding 1 -> -encodingprofile strict (since the testcases placed ↵jan.nijtmans2023-02-231-8/+8
| | | | | | | | | | | | back in previous commit didn't have that yet)
* | | Remove left-over traces of [0a74820b6d], which was merged into the ↵jan.nijtmans2023-02-231-382/+92
| | | | | | | | | | | | apn-encoding-profile and landed into tip-656. This commit was merged premature into core-8-branch, leaving a [dab7fd5973|memory leak]
* | | Merge 8.7apnadkarni2023-02-151-0/+97
|\ \ \ | |/ /
| * | Proposed fix (and testcases) for [4a7397e0b3]: Tcl 9: fcopy with ↵jan.nijtmans2023-02-101-0/+97
| | | | | | | | | | | | -strictencoding 1 UTF-8 channels
* | | Merge core-8-branchapnadkarni2023-02-071-91/+381
|\ \ \
| * | | Fix test io-75.14.pooryorick2023-02-041-1/+1
| | | |
| * | | Fix for [b8f575aa2398b0e4] and [154ed7ce564a7b4c], double-[read]/[gets] pooryorick2023-02-031-90/+380
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | problem. Partial-read functionality commented out. jn: First, see broken build [https://github.com/tcltk/tcl/actions/runs/4082362246/jobs/7036637005|here]. Second: Moving this to core-8-branch is getting TIP #653 into 8.7 without being voted upon. It's simply not ready. pooryorick: That second statement is false. The parts of this fix that implement TIP #653 are specifically commented out.
| | * | Fix for [b8f575aa2398b0e4] and [154ed7ce564a7b4c], double-[read]/[gets]pooryorick2023-02-021-158/+292
| | | | | | | | | | | | problem. Partial-read functionality commented out.
| | * | For [read] and [gets] encoding errors, use "-result read" in return options pooryorick2023-01-081-45/+96
| | | | | | | | | | | | dictionary instead of just "-result".
| | * | Merge py-b8f575aa23: Fix for [154ed7ce56], Tcl 9: [gets] on -strictencoding ↵pooryorick2023-01-021-2/+30
| | | | | | | | | | | | | | | | 1 configured channel.
| | * | Add test for [gets] in non-strict mode after an encoding error.pooryorick2022-12-301-0/+22
| | | |