summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
Commit message (Collapse)AuthorAgeFilesLines
* Fix docs and test failures. I had rolled back .PS1 (Powershell files) as ↵ashok2016-07-151-3/+4
| | | | being executable without fixing tests and docs.
* [77d58e3a7a] Test case independence: chanio, cmdah, env, history.dkf2016-07-141-2/+6
|
* Fix missing constraints for Windows-specific testsashok2016-07-091-2/+2
|
* Bugfix [3613671]. file owned implementation for Windows.ashok2016-07-091-0/+6
|
* Bugfix [ae61a67192]. file {stat, type, size} etc. support for built-in ↵ashok2016-07-091-2/+54
| | | | special Windows files/devices like CON.
* Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows.ashok2016-07-071-12/+11
|
* Finally, use correct octal notation which works in Tcl 9 as well.jan.nijtmans2014-07-171-5/+5
|
* Fix [3118489]: NUL in filenames, now fixed for both Windows and UNIX. jan.nijtmans2014-04-111-1/+1
| | | For consistancy, any NUL character in a filename prevents the native filesystem to generate a native file representation for it. Other filesystems than the native one may still accept it, but it's not recommended.
* Fix [3118489] for Windows only: NUL in filenames. This allows various ↵jan.nijtmans2014-04-111-0/+3
| | | | characters to be used in win32 filenames which are normally invalid, as described here: [http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars]. The Cygwin shell can handle those same filenames as well. In other shells (cmd.exe/mSys) or on the Windows desktop the filenames will look strange, but that's all.
* [Bug 3608360]: Test to make sure we never let [file exists] do globbing.dkf2013-03-181-0/+13
|\
| * [Bug 3608360]: Test to make sure we never let [file exists] do globbing.dkf2013-03-181-0/+13
| |\
| | * [Bug 3608360]: Test to make sure we never let [file exists] do globbing.dkf2013-03-181-0/+13
| | |
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-262/+1
| | | | | | | | | | | | systems.
* | | Merge 3595576 tests from 8.5.dgp2012-12-131-0/+6
|\ \ \ | |/ /
| * | 3595576 Tests/fix for mem corruption: [catch] fails to store options in a var.dgp2012-12-131-0/+6
| | |
* | | 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)
* | | 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.
| | * Backported fix for bug #1420432 (cannot set mtime for directories on windows).patthoyts2006-10-011-1/+16
| | |
| | * Bugs 926106 and 1353840Kevin B Kenny2005-11-151-1/+13
| | |
| | * root interacts badly with access(...,X_OK) [Bug 929892]dkf2004-04-061-2/+2
| | |
| | * * tests/cmdAH.test: Made tests of [file mtime] work better on FATdkf2003-07-041-27/+74
| | | | | | | | | | | | filesystems. [Patch 760768] Also a little general cleanup.
| | * filesystem fixes backportedvincentdarley2003-04-141-5/+8
| | |
| | * Fixes for three filesystem problemsvincentdarley2003-03-181-3/+3
| | |
| * | [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-1/+3
| | |
* | | Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-39/+43
| | | | | | | | | | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* | | * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...):dkf2010-12-091-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | More consistency in errorcode generation.dkf2010-02-051-2/+2
| | |
* | | [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-281-1/+3
| | |
* | | Generate errorcodes for more cases.dkf2009-01-081-65/+33
| | |
* | | Fix [Bug 2371623] with a constraint.dkf2008-12-011-3/+4
| | |
* | | Implementation of TIP #210.dkf2008-11-291-3/+50
| | |
* | | TIP #323 IMPLEMENTATION (partial)dgp2008-09-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | | Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-101-4/+3
| | | | | | | | | | | | (though not of its output format).
* | | Simplify test bodies using tcltest2dkf2008-09-081-366/+359
| | |
* | | * changes: Updates for 8.6a1 release.dgp2008-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInterp.c: Fixed completely boneheaded mistake that * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/cmdAH.test: -singleproc 1 test suite run. * tests/event.test: * tests/interp.test: * tests/io.test: * tests/ioTrans.test: * tests/namespace.test:
* | | TIP 285 ImplementationJoe Mistachkin2008-06-131-2/+2
| | |
* | | Assorted improvements to make better use of tcltest2dkf2008-04-231-124/+128
|/ /
* | 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
| |