summaryrefslogtreecommitdiffstats
path: root/tests/exec.test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed line endings broken by a previous checking that caused test failures ↵patthoyts2006-12-071-717/+717
| | | | on windows.
* Fix leaking-stderr test breakagedkf2006-12-041-8/+25
|
* Implement TIP#267dkf2006-12-041-688/+700
|
* * generic/tclPipe.c (FileForRedirect): Prevent nameString fromrmax2006-01-161-2/+6
| | | | | being freed without having been initialized. * tests/exec.test: Added a test for the above.
* * win/tclWinPort.h: Applied patch #1267871 by Matt Newman forpatthoyts2005-11-041-1/+46
| | | | | | * win/tclWinPipe.c: extended error code support on Windows. * tests/exec.test: Tests for extended error codes. * generic/tclPipe.c: Permit long codes (platform macros permitting).
* * generic/tclPipe.c (TclCreatePipeline): Arrange for POSIX systems todkf2005-07-281-1/+29
| | | | | | | | * unix/tclUnixPipe.c (TclpOpenFile): use the O_APPEND flag for * tests/exec.test (exec-19.1): files opened in a pipeline like ">>this". Note that Windows cannot support such access; there is no equivalent flag on the handle that can be set at the kernel-call level. The test is unix-specific in every way. [Bug 1245953]
* * generic/tclPipe.c (TclCreatePipeline): applied TIP #202 patchhobbs2004-07-021-1/+5
| | | | | * doc/exec.n, tests/exec.test: that adds 2>@1 as a special case redirection of stderr to the result output.
* Standardize some use of test constraints onto names that are documenteddkf2004-06-231-4/+4
|
* * tests/autoMkindex.test (autoMkindex-5.2): Use variable "result"dgp2004-05-251-2/+3
| | | | | | | that gets cleaned up. * tests/exec.test: Clean up the "path" array. * tests/interp.test (interp-9.3): Initialize res, so prior values cannot make the test fail.
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-5/+5
| | | | necessary.
* * tests/basic.test: Made several tests more robust to thedgp2004-02-251-8/+9
| | | | | | | | | | * tests/cmdMZ.test: list-quoting of path names that might * tests/exec.test: contain Tcl-special chars like { or [. * tests/io.test: Should help us sort out Tcl Bug 554068. * tests/pid.test: * tests/socket.test: * tests/source.test: * tests/unixInit.test:
* * tests/cmdAH.test:dgp2003-10-071-4/+4
| | | | | | | | | | | * tests/exec.test: Corrected temporary file management * tests/fileSystem.test: issues uncovered by -debug 1 test * tests/io.test: operations. Also backported some * tests/ioCmd.test: other fixes from the HEAD. * tests/main.test: * tests/pid.test: [Bugs 675605, 675655, 675659] * tests/socket.test: * tests/source.test:
* test suite fixes for spaces in pathsvincentdarley2003-02-041-48/+48
|
* unset path var to allow singleproc testinghobbs2002-11-271-2/+2
|
* * tests/exec.test: marked exec-18.1 unixOnly until the Windowshobbs2002-09-021-2/+4
| | | | incompatability (in the test, not the core) can be resolved.
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-197/+195
| | | | in the test suite.
* * All the bugs below are instances of the same problem: Theandreas_kupries2002-07-041-163/+152
| | | | | | | | | testsuite assumes [pwd] = [temporaryDirectory] and writable. * tests/iogt.test: Fixed bug #575860. * tests/io.test: Fixed bug #575862. * tests/exec.test: * tests/ioCmd.test: Fixed bug #575836.
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-3/+3
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* * win/tclWinPipe.c (BuildCommandLine): Fixed bug #554068 ([exec]andreas_kupries2002-06-171-1/+11
| | | | | | on windows did not treat { in filenames well.). Bug reported by Vince Darley <vincentdarley@users.sourceforge.net>, patch provided by Vince too.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-1/+5
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * generic/tclGet.c (Tcl_GetDouble): Added additional conditions toericm2000-03-311-1/+8
| | | | | | | | | | | | | | | | | error test (previously only errno was checked, but the return value of strtod() should be checked as well). [Bug: 4118]. * tests/exec.test: Added test for proper conversion of UTF data when used with "<< $dataWithUTF" on exec's. * unix/tclUnixPipe.c (TclpCreateTempFile): Added Tcl_UtfToExternalDString call, so that if there is UTF content in the string it will be properly converted to the system encoding before being written [Bug: 4030]. (TclpCreateTempFile): Added a check on the return value of tmpnam; some systems (Linux, for example) will start to return NULL after tmpnam has been called TMP_MAX times; not checking for this can have bad results (overwriting temp files, core dumps, etc.)
* * tests/env.test:jenn1999-08-271-1/+6
| | | | | | | | | * tests/exec.test: * tests/io.test: * tests/event.test: * tests/tcltest.test: Added 'exit' calls to scripts that the tests themselves write, and removed accidental checkin of knownBugThreaded constraints for Solaris and Linux.
* Changed the tests to use the testConstraints array that thejenn1999-07-011-2/+2
| | | | test harness uses instead of the old name (testConfig).
* Modified the tests to use the package tcltestjenn1999-06-261-100/+101
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-98/+130
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+557