summaryrefslogtreecommitdiffstats
path: root/tests/io.test
Commit message (Collapse)AuthorAgeFilesLines
* [894da183c8] Fix and test for bug at the point it was introduced.bug_894da183c8dgp2015-04-291-1/+32
|
* Comment out lines of test io-53.4 that appear to do nothing of any value.dgp2014-05-241-5/+5
|
* merge 8.5dgp2014-05-161-0/+79
|\
| * merge 8.5bug_io_32_11dgp2014-05-161-4/+27
| |\
| | * Portable test to demo bug otherwise seen only on Windows.dgp2014-05-151-0/+20
| | |
| * | Merge completion of dgp-read-bytes branch.dgp2014-05-161-10/+38
| |\ \
| * | | 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.
| * | | 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-121-1/+1
| | | | | | | | | take an unbearable 90 seconds each to complete.
* | | Tests (chan)io-34.21 are constrained for largefileSupport, and that'sdgp2014-05-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | 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-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
| | |
| * | 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.
* | | Mark io-35.18b test as knownBugjan.nijtmans2014-03-091-10/+10
| |/ |/|
* | New tests covering INPUT_NEED_NL flag handling. One exposes a bug.dgp2014-02-261-0/+71
|/
* 3530533 Add comments to failing tests.dgp2012-06-051-0/+6
|
* revert test-case from [Bug 2935503]jan.nijtmans2011-10-131-3/+3
|\
| * revert test-case change from [Bug 2935503]jan.nijtmans2011-10-131-3/+3
| |
* | [Bug 2935503] Incorrect mode field returned by file stat commandjan.nijtmans2011-10-111-4/+4
|\ \ | |/
| * [Bug 2935503] Incorrect mode field returned by file stat commandjan.nijtmans2011-10-111-3/+3
| |
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ \ | |/ | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * generic/tclIO.c (CopyData): [Bug 2895565]. Dropped bogosityandreas_kupries2009-11-121-1/+32
| | | | | | | | | | | | * tests/io.test: which used the number of _written_ bytes or character to update the counters for the read bytes/characters. New test io-53.11. This is a backward port from the 8.5 branch.
| * * tests/binary.test: Corrected flawed tests revealed by a -debug 1dgp2008-06-201-3/+3
| | | | | | | | * tests/io.test: -singleproc 1 test suite run.
| * * tests/io.test (io-53.9): need to close chan before removing file.hobbs2008-05-261-1/+2
| |
| * * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
| * * generic/tclIO.c (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-151-1/+41
| | | | | | | | | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, to shift EOF handling to the async part of the command if a callback is specified, should the channel be at EOF already when fcopy is called. Testcase by myself.
| * * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negativeandreas_kupries2008-04-101-3/+37
| | | | | | | | | | | | | | | | | | | | | | values, changed to not be an error, but behave like the special value -1 (copy all, default). * tests/iocmd.test (iocmd-15.{12,13}): Removed. * tests/io.test (io-52.5{,a,b}): Reverted last change, added comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
| * * tests/io.test (io-52.5): Removed '-size -1' from test, does notandreas_kupries2008-04-091-2/+2
| | | | | | | | | | | | seem to have any bearing, and was an illegal value. Test case is not affected by the value of -size, test flag restoration and that everything was properly copied.
| * * tests/io.test (io-53.8,53.9,53.10): Backported das' fix of typoandreas_kupries2008-04-081-4/+4
| | | | | | | | and quoting for spaces in builddir path.
| * * tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.andreas_kupries2008-04-071-1/+71
| | | | | | | | | | | | | | * generic/tclIO.c: Additional changes to data structures for fcopy * generic/tclIO.h: and channels to perform proper cleanup in case of a channel having two background copy operations running as is now possible.
| * * generic/tclIO.c (BUSY_STATE, CheckChannelErrors,andreas_kupries2008-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | TclCopyChannel): New macro, and the places using it. This change allows for bi-directional fcopy on channels. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for the patch. * tests/io.test (io-53.9): Made test cleanup robust against the possibility of slow process shutdown on Windows. Backported from Kevin Kenny's change to the same test on the 8.5 and head branches.
| * * tests/io.test (io-53.9): Added testcase for [Bug 780533], basedandreas_kupries2008-04-041-3/+51
| | | | | | | | | | on Alexandre's test script. Also fixed problem with timer in preceding test, was not canceled properly in the ok case.
| * * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] toandreas_kupries2008-04-031-1/+46
| | | | | | | | | | | | * tests/io.test: prevent fcopy from calling -command synchronously the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch.
| * * generic/tclEncoding.c (EscapeFromUtfProc): Applied patchandreas_kupries2007-02-121-1/+61
| | | | | | | | | | | | | | | | | | supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl 8.5. Mo's description: Clear the TCL_ENCODING_END flag when end bytes are written. This fix keep this method from writing escape bytes for an encoding like iso2022-jp multiple times when the escape byte overlap with the end of the IO buffer. * tests/io.test: Add test case for escape byte overlap case.
| * * tests/io.test (io-43.1 io-44.[1234]): Rewritten to beandreas_kupries2006-03-161-23/+43
| | | | | | | | self-contained with regard to setup and cleanup. [Bug 681793].
| * * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | * tests/io.test: changed from ten bytes to one byte. Need * tests/iogt.test: for this change was proven by Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for the native read() caused by [read].