summaryrefslogtreecommitdiffstats
path: root/tests/fCmd.test
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicated tests. The enhancements to fCmd-30.[12] and the new test ↵jan.nijtmans2013-03-211-22/+1
| | | | case fCmd-30.3 were backported from Tcl8.6, but the original tests were not removed.
* Bring forward tests to trunkdgp2013-03-201-1/+22
|\
| * dup test namesdgp2013-03-201-2/+2
| |
| * [Bug 2893771]: file stat fails on locked files on win32.jan.nijtmans2013-03-191-0/+22
| |\
| | * [Bug 2893771]: file stat fails on locked files on win32.jan.nijtmans2013-03-191-0/+22
| | |
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-46/+9
| | | | | | | | | | | | systems.
* | | Test independence in fCmd.testdgp2013-03-191-0/+10
|\ \ \ | |/ /
| * | Test independence in fCmd.test.dgp2013-03-191-0/+10
| | |
| * | fix fCmd-6.19 testcase on win32 (can't read "tmpspace": no such variable)jan.nijtmans2012-07-191-0/+1
| | |
* | | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | | alternative fix for [a7e00a0e02] breakage: just make surejan.nijtmans2012-06-151-13/+14
| | | | | | | | | that the variable $tmpspace is always set
* | | fix fCmd-6.19 on win32, which was broken by [a7e00a0e02]jan.nijtmans2012-06-141-7/+7
| | |
* | | 3519357 Use randomized subdir of /tmp in xdev tests to reduce chance of conflictdgp2012-06-011-62/+70
|\ \ \ | |/ /
| * | Do filesystem tests needing /tmp access in a subdir less likely to conflict.bug_3519357dgp2012-06-011-65/+70
| |\ \
| * | | [Bug 3519357] fCmd.test failed on unix by foreign files or directory in /tmp.sebres2012-04-191-43/+46
| |/ /
| * | Backport 2902268 fix.bug_2902268dgp2011-10-261-6/+27
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-3/+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-3/+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-3/+0
| | | | | | | | | more harm than good. Purged them.
| | * Fixed a number of test issues for Vista and Win7.patthoyts2009-11-101-7/+24
| | | | | | | | | | | | | | | These test failures are due to the more restrictive permissions on the newer versions of Windows.
| | * * tests/fCmd.test: Backport the notNetworkFilesystem constraint.dgp2007-05-171-6/+7
| | |
| | * backport of file writable fixesvincentdarley2006-03-191-3/+32
| | |
| | * * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change tohobbs2005-10-071-2/+2
| | | | | | | | | | | | | | | * tests/fCmd.test (fCmd-20.2): account for NFS special files with a readdir rewind threshold. [Bug 1034337]
| | * * tests/tcltest.test: The order in which [glob] returns the file namesrmax2004-11-251-3/+3
| | | | | | | | | | | | * tests/fCmd.test: is undefined, so tests should not depend on it.
| | * * tests/fCmd.test:das2004-11-111-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the readdir() loop whenever the source hierarchy has been modified by traverseProc (e.g. by deleting files); this is required to ensure complete traversal of the source hierarchy on certain filesystems like HFS+. Added test for failing recursive delete on Mac OS X that was due to this. [Bug 1034337]
| | * * tests/fCmd.test: Run tests with the [temporaryDirectory] asdgp2003-10-071-1/+4
| | | | | | | | | | | | | | | the current directory, so that tests can depend on ability to write files. [Bug 575837]
| | * * tests/fCmd.test (fCmd-8.2): Test only that tilde-substitutiondgp2003-10-061-5/+4
| | | | | | | | | | | | | | | | | | | | | happens, not for any particular result. [Bug 685991] * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so that alpha and beta releases of Tcl are not favored. [Bug 608698]
| | * file copy empty filename bug fixvincentdarley2003-06-231-1/+11
| | |
| | * filesystem fixes backportedvincentdarley2003-04-141-1/+6
| | |
| * | Fixed a number of test issues for Vista and Win7.patthoyts2009-11-111-7/+24
| | | | | | | | | | | | | | | These test failures are due to the more restrictive permissions on the newer versions of Windows.
| * | * tests/fCmd.test (fCmd-6.23): made result matching robust when testdas2008-08-141-2/+2
| | | | | | | | | | | | workdir and /tmp are not on same FS.
* | | * tests/fCmd.test: Improve sanity of constraints now that we don'tdkf2010-12-091-22/+39
| | | | | | | | | | | | support anything before Windows 2000.
* | | * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...):dkf2010-12-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Break up [file] into an ensemble. Note that the ensemble is safe in itself, but the majority of its subcommands are not. * generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd) (TclFileMakeDirsCmd): Adjust these subcommand implementations to work inside an ensemble. (TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these subcommand implementations from tclCmdAH.c, where they didn't really belong. * generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate source file. * generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make partially-safe ensembles. Currently does not function as expected due to various shortcomings in how safe interpreters are constructed. * tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates to take into account systematization of error messages.
* | | * tests/fCmd.test, tests/safe.test, tests/uplevel.test,dkf2010-12-071-28/+27
| | | | | | | | | | | | | | | * tests/upvar.test, tests/var.test: Convert more tests to tcltest2 and factor them to be easier to understand.
* | | [Bug 2893771] Teach [file stat] to handle locked files.patthoyts2009-11-241-11/+16
| | | | | | | | | | | | | | | This stops [file exists] from returning false for files that exist but are locked by resorting to FindFirstFile when GetFileAttributes fails.
* | | * tests/fCmd.test (fCmd-30.1): Changed registry location of theKevin B Kenny2009-11-231-2/+2
| | | | | | | | | | | | | | | | | | 'My Documents' folder to the one that's correct for Windows 2000, XP, Server 2003, Vista, Server 2008, and Windows 7. (See http://support.microsoft.com/kb/310746)
* | | Test constraint 2000orNewer should only be true on Windows platformdgp2009-11-231-2/+2
| | |
* | | #undef STATIC_BUILD in tclWin(Dde|Reg).c, in order to makenijtmans2009-11-231-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sure that Xxxxx_Init is always exported even when Tcl is built static (otherwise we cannot create a DLL). tclThreadTest.c: Make all functions static, except TclThread_Init. fCmd.test Enable fCmd-30.1 when registry is available. tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts configure.in between static libraries and import library on windows. configure (regenerated) Makefile.in Simplifications related to tcl.m4 changes.
* | | [Bug 2891026] add addtional contraints for vista+ for non-readable directoriespatthoyts2009-11-071-9/+26
| | |
* | | TIP #323 IMPLEMENTATION (partial)dgp2008-09-241-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | * doc/file.n: Revise [file delete] and [file mkdir] to * generic/tclCmdAH.c: accept zero "pathname" arguments (the * generic/tclFCmd.c: no-op case). * tests/cmdAH.test: * tests/fCmd.test:
* | | * tests/fCmd.test (fCmd-6.23): made result matching robust when testdas2008-08-141-2/+2
| | | | | | | | | | | | workdir and /tmp are not on same FS.
* | | Finish cleaning up this file (move cleanup actions out of test bodies, etc.)dkf2008-07-201-96/+124
| | |
* | | more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-131-3/+3
| | | | | | | | | | | | ?options? to the form ?-option value ...?
* | | Test improvements (tcltest2, clarify)dkf2008-04-101-20/+18
|/ /
* | Rewrite to use tcltest2 better while getting rid of bugs/misfeatures.dkf2008-03-281-971/+1084
| |
* | improve darwin9 constraintdas2008-03-121-2/+3
| |
* | * tests/fCmd.test (fCmd-9.4): skip on Darwin 9 (xfail).das2008-03-111-2/+6
| |
* | * tests/fCmd.test (fCmd-6.26): fix failure when env(HOME) path containsdas2006-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | symlinks. * macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when running testsuite from inside Xcdoe, skip stack-3.1 (it only fails under those circumstances). * unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tk tcl.m4 change. * unix/configure.in: whitespace. * unix/configure: autoconf-2.59
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | Change the "pc" constraint to synonym "win" for consistency with thedgp2006-03-271-5/+5
| | | | | | | | rest of the Tcl test suite.