summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Refinements of FlushChannel() and its callers. Notably includes removal of ↵dgp2014-05-291-7/+7
|\ | | | | | | the flag BUFFER_READY.
| * 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
| |
* | Fix c&p errors in test descriptionsmax2014-05-211-4/+4
| |
| |
| \
*-. \ Rework the management of the CHANNEL_BLOCKED and CHANNEL_EOF flags, in ↵dgp2014-05-203-3/+18
|\ \ \ | | |/ | | | | | | particular not allowing them to leak between multiple layers of a stacked channel. Much common code refactored into ChanRead().
| | * 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.5dgp2014-05-141-0/+3
| | |\ \
| * | | | Revise results of tests iogt-2.[123] to account for EOF flags nodgp2014-05-171-0/+3
| | | | | | | | | | | | | | | longer leaking across channel stacks.
| * | | | merge trunkdgp2014-05-161-0/+79
| |\ \ \ \
| * \ \ \ \ merge trunkdgp2014-05-141-0/+3
| |\ \ \ \ \
| * \ \ \ \ \ Refactored much management of the BLOCKED and EOF flags into ChanRead() thendgp2014-05-132-3/+15
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. zlib-8.5 also needed adjustment to reflect that an EOF set must come with an empty string read when flags are functioning properly.
| | * | | | | 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.
* | | | | | | | Fix and improve socket -async [13d3af3ad5] oehhar2014-05-201-54/+436
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | * Give clearer names to some of the state flags and sync them with ↵bug_13d3af3ad5max2014-04-081-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows where it makes sense. * Rework WaitForConnect once more to always report ENOTCONN on I/O operations on failed async sockets. * Fix synchronous connections to a server that only listens on IPv6 (or whatever comes later in the list returned by getaddrinfo(), socket-15.*) * Fix spurious writable event on async sockets (socket-14.15).
| * | | | | | | Changed error report logic, that an async connect error is only reported by ↵oehhar2014-04-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'fconfigure -error' and not by a possible last command terminating the async connect. The terminating command always returns "socket is not connected" on connect error. In addition, some flags were renamed: TCP_ASYNC_SOCKET to TCP_NONBLOCKING and also the new state flags.
* | | | | | | | merge 8.5dgp2014-05-161-0/+79
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | / | | |_|_|_|_|/ | |/| | | | |
| * | | | | | 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
| | | | | | | |
* | | | | | | | Fix 3 test-cases which started failing on Windowsjan.nijtmans2014-05-141-0/+3
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | / / / | |_|_|_|/ / / |/| | | | | |
| * | | | | | Fix 3 test-cases which started failing on Windowsjan.nijtmans2014-05-141-0/+3
| | |_|_|/ / | |/| | | |
* | | | | | Restore the largefileSupport constraint on Darwin, where tests (chan)io-34.21dgp2014-05-122-2/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | take an unbearable 90 seconds each to complete.
| * | | | | Restore the largefileSupport constraint on Darwin, where tests (chan)io-34.21dgp2014-05-122-2/+2
| | | | | | | | | | | | | | | | | | take an unbearable 90 seconds each to complete.
* | | | | | [6d2f249a01] Handle a failure to comprehend half-way through the compilation ↵dkf2014-05-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | of a chain of compileable ensembles.
* | | | | | Repair another "impossible" test and the segfault it reveals.dgp2014-05-091-5/+5
| | | | | |
* | | | | | Correct namespace bugs in normally skipped tests. Constrain them as ↵dgp2014-05-091-17/+26
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | "knownBug" rather than "unknownFailure".
| * | | | | 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
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Added comment explaining the "knownBug" in iogt-6.1dgp2014-05-091-0/+9
| | | | | |
* | | | | | Tests (chan)io-34.21 are constrained for largefileSupport, and that's ↵dgp2014-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.
| * | | | | 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 it does ↵dgp2014-05-091-5/+4
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | segfault trying to use a deleted interp. Fixed.
| * | | | | 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.
* | | | | | Fix [3389978]: Support for paths longer than MAX_PATH on Windows.jan.nijtmans2014-05-091-2/+2
|\ \ \ \ \ \
| * | | | | | Start working on [3389978]. Appears to work, but some clean-up needed.jan.nijtmans2014-05-061-2/+2
| | | | | | |
| | | | | | |
| \ \ \ \ \ \
*-. \ \ \ \ \ \ Merge the reforms of dgp-trunk-read branch into trunk. (port of dgp-read-bytes)dgp2014-05-082-2/+178
|\ \ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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
| | | |\ \ \ \ \ \ \