| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
New "testbytestring" command which can be used to replace the (to-be-deprecated) "bytestring" command from tcltest and/or the "indentity" encoding.
Adapt many testcases to use the "testbytestring" command.
|
|\
| |
| | |
take an unbearable 90 seconds each to complete.
|
| |
| |
| | |
take an unbearable 90 seconds each to complete.
|
|\ \
| |/
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| | |
combination with tcltest86.dll to do that (Windows only)
|
| | |
|
| |
| |
| | |
Eliminates a memory leak in `make valgrind TESTFLAGS="-file chanio.test"`.
|
| | |
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |
| |
| | |
more harm than good. Purged them.
|
| |
| |
| |
| | |
Improved error-message regarding legacy form.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/interp.test: [interp bgerror $slave] and [$slave bgerror]
would always act like [interp bgerror {}]. [Bug 1999035].
* tests/chanio.test: Corrected flawed tests revealed by a -debug 1
* tests/event.test: -singleproc 1 test suite run.
* tests/io.test:
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
* tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside
of the supported range are now clipped to nearest boundary instead
of ignored.
|
| |
| |
| |
| |
| |
| |
| | |
* io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>,
* chanio.test (chan-io-53.8a): 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
* tests/chanio.test (chan-io-52.5{,a,b}): 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): does not seem to have any bearing, and
was an illegal value.
|
| |
| |
| |
| | |
* tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/chanio.test:
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/io.test (io-53.9): Made test cleanup robust against
the possibility of slow process shutdown on Windows.
* win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and
-DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags
so that the compilation doesn't barf on perfectly reasonable
Posix system calls.
* win/configure: Manually patched (don't have the right autoconf
to hand).
|
| |
| |
| |
| |
| |
| | |
* tests/chanio.test: on Alexandre's test script. Also fixed
problem with timer in preceding test, was not canceled properly
in the ok case.
|
| |
| |
| |
| |
| |
| | |
* tests/io.test: prevent fcopy from calling -command synchronously
* tests/chanio.test: the first time. Thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for report and patch.
|
| |
| |
| |
| | |
Improved error-message regarding legacy form.
|
| |
| |
| |
| | |
tests to tcltest2 and factor them to be easier to understand.
|
| | |
|
| |
| |
| |
| | |
setup and cleanup parts as such.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Fix safe-10.1 and safe-10.4 test cases,
making the wrong assumption that Tcltest
should be a static package.
|
| | |
|
| |
| |
| |
| |
| |
| | |
returned TCL_RETURN return code, with more conventional ones
that return TCL_OK to suppress otherwise strange writes of
outdated $::errorInfo values to stderr. [Bug 2444274].
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rewrite the half-close to properly flush the channel, like is done
for a full close, going through FlushChannel, and using the flag
BG_FLUSH_SCHEDULED (async flush during close). New functions
CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE.
* tests/chanio.test (chanio-28.[67]): Reactivated these
tests. Replaced tclsh -> [interpreter] to get correct executable
for the pipe process, and added after cancel to kill the fail
timers when we are done. Removed the explicits calls to [flush],
now that [close] handles this correctly.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclInterp.c: Fixed completely boneheaded mistake that
* tests/interp.test: [interp bgerror $slave] and [$slave bgerror]
would always act like [interp bgerror {}]. [Bug 1999035].
* tests/chanio.test: Corrected flawed tests revealed by a -debug 1
* tests/cmdAH.test: -singleproc 1 test suite run.
* tests/event.test:
* tests/interp.test:
* tests/io.test:
* tests/ioTrans.test:
* tests/namespace.test:
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
* tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside
of the supported range are now clipped to nearest boundary instead
of ignored.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>,
* chanio.test (chan-io-53.8a): 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
* tests/chanio.test (chan-io-52.5{,a,b}): 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): does not seem to have any bearing, and
was an illegal value.
|
| |
| |
| |
| | |
* tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
|
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/chanio.test:
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/io.test (io-53.9): Made test cleanup robust against
the possibility of slow process shutdown on Windows.
* win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and
-DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags
so that the compilation doesn't barf on perfectly reasonable
Posix system calls.
* win/configure: Manually patched (don't have the right autoconf
to hand).
|
| |
| |
| |
| |
| |
| | |
* tests/chanio.test: on Alexandre's test script. Also fixed
problem with timer in preceding test, was not canceled properly
in the ok case.
|
|/
|
|
|
|
| |
* tests/io.test: prevent fcopy from calling -command synchronously
* tests/chanio.test: the first time. Thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for report and patch.
|
| |
|