summaryrefslogtreecommitdiffstats
path: root/tests/fCmd.test
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* typodgp2006-03-211-2/+2
|
* Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-87/+83
| | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file
* Clean up tests (mostly constraints relating to testchmod)dkf2006-03-201-2/+5
| | | | | Also make the format of the ChangeLog a bit more internally consistent, making it easier to search it for bug numbers, etc.
* fix to file writeable on windowsvincentdarley2006-03-181-1/+16
|
* add proper test constraintsvincentdarley2006-03-151-3/+3
|
* 90% fix of file writable issues on Windowsvincentdarley2006-03-141-3/+43
|
* fix to glob memory leak and file stat ino/nlink on windowsvincentdarley2005-10-231-1/+11
|
* * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change tomsofer_wcodes_branch_20051007kennykb_numerics_branch_20051008hobbs2005-10-071-2/+2
| | | | | * tests/fCmd.test (fCmd-20.2): account for NFS special files with a readdir rewind threshold. [Bug 1034337]
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* * tests/fCmd.test (fCmd-18.10): Added notNetworkFilesystem constraint.dgp2005-01-041-2/+2
| | | | [Bug 456665]
* * tests/fCmd.test:das2004-11-111-1/+11
| | | | | | | | | * 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]
* General cleanupdkf2004-10-311-139/+21
|
* two bugs fixed in filesystem docs and testsvincentdarley2004-08-311-2/+2
|
* Standardize some use of test constraints onto names that are documenteddkf2004-06-231-53/+53
|
* Fix test suite so NFS doesn't consistently cause 8 failures. [Bug 931312]dkf2004-05-251-30/+44
|
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-5/+5
| | | | necessary.
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-57/+21
|
* filesystem documentation and testsvincentdarley2004-01-261-2/+4
|
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-4/+4
| | | | variable names in
* fix to file normalization with relative linksvincentdarley2003-12-171-4/+35
|
* marked test as nonPortablevincentdarley2003-12-161-2/+2
|
* * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.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:
* fix to misleading error messagevincentdarley2003-11-101-1/+9
|
* * tests/fCmd.test: Run tests with the [temporaryDirectory] asdgp2003-10-071-1/+3
| | | | | 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-3/+3
| | | | happens, not for any particular result. [Bug 685991]
* filesystem fixes -- see ChangeLogvincentdarley2003-06-231-1/+11
|
* fix to WinTcl file rename error messagevincentdarley2003-06-021-1/+26
|
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-1/+6
|
* glob -l on broken symlink fixvincentdarley2003-02-121-6/+6
|
* [file exist] -> [file exists]...dkf2002-10-041-13/+13
|
* Added test.dkf2002-08-161-1/+5
|
* [Patch #591647] (darley)hobbs2002-08-081-5/+34
| | | | | | (CopyRenameOneFile): this is currently disabled by default until further issues with such behavior (like relative links) can be handled correctly.
* * tests/fCmd.test:hobbs2002-08-081-12/+13
| | | | | | | | | * tests/unixFCmd.test: updated tests for new link copy behavior. * generic/tclFCmd.c (CopyRenameOneFile): changed the behavior to follow links to endpoints and copy that file/directory instead of just copying the surface link. This means that trying to copy a link that has no endpoint (danling link) is an error. [Patch #591647] (darley)
* pcOnly constraints addedvincentdarley2002-07-181-2/+2
|