summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
Commit message (Collapse)AuthorAgeFilesLines
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
* Small fixes to quell tests that fail on some kinds of Win systemsdkf2007-01-181-15/+9
|
* bug #1420432 - file mtime fails for directories on windowspatthoyts2006-10-011-2/+16
|
* Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-24/+29
| | | | | 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-10/+9
| | | | | Also make the format of the ChangeLog a bit more internally consistent, making it easier to search it for bug numbers, etc.
* TIP#258 IMPLEMENTATIONdgp2006-02-081-2/+2
| | | | | | | | | | | | | | | | | | | | | * doc/Encoding.3: New subcommand [encoding dirs]. * doc/encoding.n: New routine Tcl_GetEncodingNameFromEnvironment. * generic/tcl.decls: Made public: * generic/tclBasic.c: TclGetEncodingFromObj * generic/tclCmdAH.c: -> Tcl_GetEncodingFromObj * generic/tclEncoding.c:TclGetEncodingSearchPath * generic/tclInt.decls: -> Tcl_GetEncodingSearchPath * generic/tclInt.h: TclSetEncodingSearchPath * generic/tclTest.c: -> Tcl_SetEncodingSearchPath * library/init.tcl: Removed commands: * tests/cmdAH.test: [tcl::unsupported::EncodingDirs] * tests/encoding.test: [testencoding path] (Tcltest) * unix/tclUnixInit.c: [Patch 1413934]. * win/tclWinInit.c: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* Second part of fix for Bug 926106Kevin B Kenny2004-11-011-1/+13
|
* command quoting fixdgp2004-10-311-2/+2
|
* Minor fixes for marginally more claritydkf2004-10-311-10/+10
|
* Added constraint to test that won't ever work on Unix (no drive letters!)dkf2004-10-311-2/+2
|
* Remove broken test constraint. [bug 1053908]dkf2004-10-311-3/+2
|
* Remove some of the contortions from cmdAH-8.45dkf2004-10-251-8/+10
|
* fix to small filesystem bugsvincentdarley2004-09-271-10/+16
|
* Simplify constraint by assuming Mac is Unix (which is true these days)dkf2004-06-231-8/+8
|
* Standardize some use of test constraints onto names that are documenteddkf2004-06-231-27/+27
|
* fix to 'file dirname' and to fs refCount documentationvincentdarley2004-05-191-1/+13
|
* fix to case sensitive 'file executable' on Windowsvincentdarley2004-05-171-1/+10
|
* root interacts badly with access(...,X_OK) [Bug 929892]dkf2004-04-061-2/+2
|
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-266/+5
|
* * tests/cmdAH.test:dgp2003-10-071-7/+9
| | | | | | | | | | | * 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 fix for AFSvincentdarley2003-09-161-2/+8
|
* test suite on afs fixvincentdarley2003-07-211-3/+13
|
* * tests/cmdAH.test: Made tests of [file mtime] work better on FATdkf2003-07-041-29/+76
| | | | filesystems. [Patch 760768] Also a little general cleanup.
* Cleaned up cmdAH.test to use test constraints properly.dkf2003-05-121-240/+240
|
* * generic/tclBasic.c: Implementation of TIP 90, whichdgp2003-05-051-3/+6
| | | | | | | | | | | | | | | | * generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] failed to recognize the symbolic name "ok" for return code 0.
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-5/+8
|
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+17
|
* [file attributes -permissions] is Unix-only; [catch] it for portabilitydkf2002-07-111-4/+4
|
* Removed exec of unix utilities from cmdAH.test [Bug 579211]dkf2002-07-101-9/+11
|
* add file link constraintvincentdarley2002-07-081-2/+12
|
* More fixing of writable-current-dir assumption. [Bug 575824]dkf2002-07-041-128/+140
|
* * doc/tcltest.n: Reverted [makeFile] and [viewFile] todgp2002-07-021-2/+2
| | | | | | | | * library/tcltest/tcltest.tcl: their former behavior, and documented * tests/cmdAH.test: it. Corrected misspelling of hook * tests/event.test: procedure. Restored tests. * tests/http.test: * tests/io.test:
* * tests/pkg/samename.tcl: restored. needed by pkgMkIndex.test.dgp2002-07-011-4/+5
| | | | | * library/tcltest/tcltest.tcl: restored writeability testing of -tmpdir, augmented by a special exception for the deafault value.
* * Fixed [makeFile] and [viewFile] to accurately reflect a file'sdgp2002-07-011-3/+3
| | | | | | contents. Updated tests that depended on buggy behavior. Also added warning messages to "-debug 1" operations to debug test calls to (make|remove)(File|Directory).
* unix root volume fixvincentdarley2002-06-271-1/+9
|
* tip99vincentdarley2002-06-211-10/+18
|
* fix to bug 553320vincentdarley2002-05-071-3/+3
|
* 2002-04-08 Daniel Steffen <das@users.sourceforge.net>das2002-04-081-2/+2
| | | | | | | | | | | | | | | | | | | * generic/tcl.h: no <sys/types.h> on mac. * mac/tclMacFile.c: minor fixes to Vince's changes from 03-24. * mac/tclMacOSA.c: * mac/tclMacResource.c: added missing Tcl_UtfToExternalDString conversions of resource file names. * mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced by Andreas on 02-25; changed strcmp's to strncmp's so that option comparison behaves like on other platforms. * mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added support to allow Tk to hookup C library stderr/stdout to TkConsole. * tests/basic.test: * tests/cmdAH.test: * tests/encoding.test: * tests/fileSystem.test: * tests/ioCmd.test: fixed tests failing on mac: check for existence of [exec], changed some result strings.
* 4 fs fixesvincentdarley2002-03-241-3/+7
|
* Made test cmdAH-24.2 more robust.dkf2001-11-271-15/+17
|
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-2/+2
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * tests/cmdAH.test: Modify cmdAH-20.5 and cmdAH-24.8mdejong2001-09-091-3/+5
| | | | | to display the file atime or mtime results if the test fails.
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-26/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* Added leading zero to file modes passed to [testchmod] to work arounddkf2001-07-061-6/+6
| | | | fault in HPUX strtol() which ignores the base parameter [Bug #438808]
* * tests/cmdAH.test: extra tests for 'file channels' that includehobbs2000-10-061-11/+66
| | | | | | | multiple interpreter tests and channel sharing * generic/tclIO.c (Tcl_GetChannelNamesEx): corrected function (and consequently 'file channels') to return channels that are actually registered for this specific interp, rather than this thread.
* * library/tcltest1.0/pkgIndex.tcl: Updated to load tcltest 2.0.jenn2000-09-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/tcltest1.0/tcltest2.tcl: New version of tcltest. Cleanup of command line parsing: allows users to specify command line arguments through an environment variable named TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect arguments, and forces usage of entire flag name when using command line arguments. Defines accessor procs for all tcltest variables. Allows users to use 'return' in test scripts. Allow users to specify whether test files should be sourced or run in a separate process. 'all.tcl' code moved to tcltest package. 'test' proc modified to use attribute-value pairs. Allow users to specify what return codes, output, and errors can be compared and whether these values should be compared using regexp, glob, or exact matching. makeDirectory & removeDirectory now operate with respect to temporaryDirectory [Bug: 6001]. Test results from tests run in slave interpreters are now included in test totals [Bug: 1493]. Test files that return error values are now reported. * tests/all.tcl: Added code to check for the tcltest version loaded; modified to figure out which tests to run based on the tcltest version loaded. * tests/tcltest.test: Modified to explicitly load version 1.0 of tcltest. * tests/tcltest2.test: New test suite for tcltest; includes all of the old tests plus new ones reflecting changes made for version 2.0. * tests/cmdAH.test: Added singleTestInterp constraint to cmdAH-31.2; this test does not run if tests aren't sourced into a single interpreter. * tests/socket.test: Fixed two tests that were referencing variables outside of scope. * tools/tcl.wse.in: Added code to install tcltest2.tcl. * doc/tcltest2.n: New documentation for tcltest version 2.0. Removes documentation for tcltest namespace variables. Adds documentation for new tcltest procs. * unix/mkLinks: Added code to link to tcltest2.n. * generic/tcl.h: Added comment to modify tcltest2.tcl as well as tcltest.tcl for version changes.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* added tests for related fixeshobbs1999-10-291-8/+41
|
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-9/+28
| | | | added tests for bug fixes