summaryrefslogtreecommitdiffstats
path: root/tests/env.test
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tclMacOSXFCmd.c (TclMacOSXSetFileAttribute): on some versionsdas2007-01-191-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | of Mac OS X, truncate() fails on resource forks, in that case use open() with O_TRUNC instead. * macosx/tclMacOSXNotify.c: accommodate changes to prototypes of OSSpinLock(Un)Lock API. * macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars * macosx/Tcl.xcodeproj/default.pbxuser: are defined when running testsuite from Xcode. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/Makefile.in: move libtommath defines into configure.in to avoid * unix/configure.in: replicating them across multiple buildsystems. * macosx/Tcl.xcodeproj/project.pbxproj: * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * tests/env.test: With case preserved (see 2006-03-21 commit)dgp2006-03-231-2/+2
| | | | be sure to do case-insensitive filtering. [Bug 1457065]
* * tests/env.test: Preserve case of saved env vars. [Bug 1409272]dgp2006-03-211-15/+9
|
* revert broken commitdgp2006-03-211-2/+2
|
* Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-2/+2
| | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file
* Applied patch #1096916 to support building with MSVC 8.patthoyts2005-11-031-4/+13
| | | | | | | | | | | | | * generic/regerror.c: Avoid use of reserved word. * generic/tcl.h: Select the right Tcl_Stat structure * generic/tclDate.c: Casts to handle 64 bit time_t case. * tests/env.test: Include essential envvar on Win32 * win/nmakehlp.c: Handle new return codes. * win/makefile.vc: Use the selected options. * win/rules.vc: Check options are applicable * win/tclWinPort.h: Disable deprecated function warnings * win/tclWinSock.c: Provide default value to avoid warning. * win/tclWinTime.c: Add casts to handle 64bit time_t type.
* * tests/env.test (env-6.1):hobbs2005-10-051-1/+8
| | | | | | | | | | | * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1 * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640]
* * tests/env.test: added DYLD_FRAMEWORK_PATH to the list of env varsdas2005-05-241-3/+3
| | | | that need to be handled specially.
* * tests/env.test: macosx fixes.das2004-08-261-3/+3
|
* Standardize some use of test constraints onto names that are documenteddkf2004-06-231-2/+2
|
* Standardize various minor aspects of test styledkf2004-05-191-23/+12
|
* [info exist]->[info exists]. [Bug 602566]dkf2002-10-031-3/+3
|
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-17/+17
| | | | in the test suite.
* Made many tests work properly when the current directory is not writable.dkf2002-07-051-8/+6
| | | | Added targets to unix/Makefile.in to facilitate testing of this situation.
* * 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).
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/env.test: removed knownBug limitation from working testhobbs1999-12-041-2/+2
| | | | | | | | | | | | | | | | | | * tests/all.tcl: ensured that ::tcltest::testsDirectory would be set to an absolute path * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling.
* 1999-09-20 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-211-3/+3
| | | | | | | | * tests/env.test: * unix/Makefile.in: added support for AIX LIBPATH env var [Bug: 2793] removed second definition of INCLUDE_INSTALL_DIR (the one that referenced @includedir@) [Bug: 2805] * unix/dltest/Makefile.in: added -lc to LIBS [Bug: 2794]
* * tests/env.test:jenn1999-08-271-1/+2
| | | | | | | | | * 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.
* Fixed bogus test for env.testrjohnson1999-07-081-9/+4
|
* Improved test to handle empty env array - (will raise error)rjohnson1999-07-081-1/+4
|
* 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-3/+4
|
* * Merged changes from 8.1.0 branchstanton1999-04-301-2/+2
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-26/+135
|
* Added tests/stack.test, to test recursion limits.escoffon1998-09-301-3/+3
| | | | Added SHLIB_PATH to the list of special macros to ignore.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+152