summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2002-07-01 04:56:11 (GMT)
committerdgp <dgp@noemail.net>2002-07-01 04:56:11 (GMT)
commit6f10d337a0628283ac8ec8cd20cbec80b178640c (patch)
treedb34f8a42e4d9201452424cd0085b869b9c2a6e8 /library
parent21ec2051c19bf83c6979775522a4743150680c31 (diff)
downloadtcl-6f10d337a0628283ac8ec8cd20cbec80b178640c.zip
tcl-6f10d337a0628283ac8ec8cd20cbec80b178640c.tar.gz
tcl-6f10d337a0628283ac8ec8cd20cbec80b178640c.tar.bz2
* Stopped checking for writeability of -tmpdir value because no
default directory can be guaranteed to be writeable. FossilOrigin-Name: 17a8c529eee1e723ed0e687d88de5af7c28794bc
Diffstat (limited to 'library')
-rw-r--r--library/tcltest/tcltest.tcl14
1 files changed, 10 insertions, 4 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 6e64f2e..ee98397 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -16,7 +16,7 @@
# Contributions from Don Porter, NIST, 2002. (not subject to US copyright)
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.61 2002/07/01 02:29:22 dgp Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.62 2002/07/01 04:56:11 dgp Exp $
package require Tcl 8.3 ;# uses [glob -directory]
namespace eval tcltest {
@@ -650,9 +650,15 @@ namespace eval tcltest {
file mkdir $directory
}
set directory [AcceptDirectory $directory]
- if {![file writable $directory]} {
- return -code error "\"$directory\" is not writeable"
- }
+ #
+ # Would be good to test that the -tmpdir is a writeable
+ # directory, but then we need a default value that we
+ # can guarantee will pass the writeability test, and there
+ # doesn't seem to be one.
+ #
+ #if {![file writable $directory]} {
+ # return -code error "\"$directory\" is not writeable"
+ #}
return $directory
}