summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-09-24 19:31:22 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-09-24 19:31:22 (GMT)
commit320d7eee6064ca0dd8cb639bd5be69ba1540090e (patch)
treebb9142d1461d158477e06736af87cceca30ed6fc /tests/cmdAH.test
parentf07ede6c19ad5eed75e1dcbc9ffed8322eed5c3b (diff)
downloadtcl-320d7eee6064ca0dd8cb639bd5be69ba1540090e.zip
tcl-320d7eee6064ca0dd8cb639bd5be69ba1540090e.tar.gz
tcl-320d7eee6064ca0dd8cb639bd5be69ba1540090e.tar.bz2
TIP #323 IMPLEMENTATION (partial)
* 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:
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r--tests/cmdAH.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index 73a8819..cca533f 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: cmdAH.test,v 1.62 2008/09/10 13:50:04 dkf Exp $
+# RCS: @(#) $Id: cmdAH.test,v 1.63 2008/09/24 19:31:29 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -1093,6 +1093,10 @@ test cmdAH-23.10 {Tcl_FileObjCmd: mkdir} -setup {
file delete -force $dirA
file delete -force $dirB
} -result {1 1}
+test cmdAH-23.11 {Tcl_FileObjCmd: mkdir} {
+ # Allow zero arguments (TIP 323)
+ file mkdir
+} {}
# mtime