summaryrefslogtreecommitdiffstats
path: root/tests/env.test
Commit message (Collapse)AuthorAgeFilesLines
* Convert remaining env.test test-cases to tcltest-2 formatjan.nijtmans2016-02-221-16/+13
|
* Add test-case which demonstrates the problem. This test-case fails in trunk ↵bug_9b47029467631832jan.nijtmans2016-02-191-0/+13
| | | | (but passes in core-8-5-branch, as expected).
* Fix env-5.1 test-case on Cygwin (and probably other platforms which don't ↵jan.nijtmans2013-11-201-1/+1
| | | | have iso8859-1 as system-encoding)
* [219226]: Rewrote how ::env is synchronized to the environment so it no longerdkf2013-09-271-0/+23
| | | | smashes the array or its elements flat, This affects traces on env, links to env, and iterations over env: it makes them work as naïvely expected.
* Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. jan.nijtmans2013-06-131-2/+2
|\ | | | | Fix some gcc warnings which become visible with -Wextra
| * Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64jan.nijtmans2013-06-121-2/+2
| |
* | Don't depend on Spencer-specific regexp syntax (/u and /U) any more in ↵jan.nijtmans2013-01-061-1/+1
| | | | | | | | | | unrelated places . Bump http package to 2.8.6.
* | Fix env.test, when running under wine 1.3jan.nijtmans2011-10-071-0/+3
|\ \ | |/
| * Fix env.test, when running under wine 1.3 (partly backported from Tcl 8.6)jan.nijtmans2011-10-071-28/+38
| |\
| | * Fix env.test, when running under wine 1.3 (partly backported from Tcl 8.6)jan.nijtmans2011-10-071-19/+33
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | 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.
| | * * macosx/tclMacOSXNotify.c: accommodate changes to prototypes ofdas2007-01-191-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSSpinLock(Un)Lock API. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * 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.13
| | * Enable building Tcl with Microsoft's latest compiler offeringpatthoyts2006-06-141-4/+4
| | | | | | | | | | | | | | | | | | (VS2005). We have to handle a number of oddities as they have deprecated most of the standard C library and now generate manifest files to be linked into the binaries. SF bug #1424909
| | * test to fix for 979640hobbs2005-10-051-13/+8
| | |
| | * * 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
| | |
| * | Fix environment tests under CYGWINnijtmans2010-01-061-3/+3
| | |
* | | Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵nijtmans2009-12-211-8/+8
| | | | | | | | | | | | not enabled yet, but at least it is a step in the right direction.
* | | Fix [Bug 1513659].dkf2009-05-071-33/+74
| | |
* | | Fix miguel's problem with env failures; need LANG to get [encoding system]dkf2008-07-191-30/+32
| | | | | | | | | | | | right in subprocesses...
* | | Rewrite to use tcltest2 and not generate non-ascii chars in results.dkf2008-07-191-55/+58
|/ / | | | | | | Part of fix of [Bug 1513659]
* | * 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
|