summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fCmd.test12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test
index 6ff3872..1c234b3 100644
--- a/tests/fCmd.test
+++ b/tests/fCmd.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: fCmd.test,v 1.43 2004/10/31 19:12:34 dkf Exp $
+# RCS: @(#) $Id: fCmd.test,v 1.44 2004/11/11 01:14:29 das Exp $
#
if {[lsearch [namespace children] ::tcltest] == -1} {
@@ -1762,6 +1762,16 @@ test fCmd-20.1 {TraverseUnixTree : failure opening a subdirectory directory } \
set result
} {1}
+test fCmd-20.2 {TraverseUnixTree : recursive delete of large directory: Bug 1034337} \
+ {unix notRoot} {
+ catch {file delete -force -- tfa}
+ file mkdir tfa
+ for {set i 1} {$i <= 200} {incr i} {createfile tfa/testfile_$i}
+ set result [catch {file delete -force tfa} msg]
+ while {[catch {file delete -force tfa}]} {}
+ list $result $msg
+} {0 {}}
+
#
# Feature testing for TclCopyFilesCmd
#