diff options
author | dgp <dgp@users.sourceforge.net> | 2003-10-07 18:53:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-10-07 18:53:22 (GMT) |
commit | a5c5a8a5df910708a4414fed2bf1e96fa1eee7bc (patch) | |
tree | 30e0b73fd2b14893d93d3968a11f609b1052e149 /tests/fileSystem.test | |
parent | 3b21dd18dca159cc96a291b3591e9526460646de (diff) | |
download | tcl-a5c5a8a5df910708a4414fed2bf1e96fa1eee7bc.zip tcl-a5c5a8a5df910708a4414fed2bf1e96fa1eee7bc.tar.gz tcl-a5c5a8a5df910708a4414fed2bf1e96fa1eee7bc.tar.bz2 |
* tests/exec.test: Corrected temporary file management
* tests/fileSystem.test: issues uncovered by -debug 1 test
* tests/ioCmd.test: operations. Also backported some
* tests/pid.test: other fixes from the HEAD.
* tests/socket.test: [Bugs 675605, 675655]
* tests/source.test:
Diffstat (limited to 'tests/fileSystem.test')
-rw-r--r-- | tests/fileSystem.test | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/fileSystem.test b/tests/fileSystem.test index 6e25de7..b934aed 100644 --- a/tests/fileSystem.test +++ b/tests/fileSystem.test @@ -43,6 +43,9 @@ if {[catch { tcltest::testConstraint hasLinks 1 } +tcltest::testConstraint testsimplefilesystem \ + [string equal testsimplefilesystem [info commands testsimplefilesystem]] + test filesystem-1.0 {link normalisation} {hasLinks} { string equal [file normalize gorp.file] [file normalize link.file] } {0} @@ -389,7 +392,7 @@ test filesystem-6.33 {empty file name} { while {![catch {testfilesystem 0}]} {} } -test filesystem-7.1 {load from vfs} {win} { +test filesystem-7.1 {load from vfs} {win testsimplefilesystem} { # This may cause a crash on exit set dir [pwd] cd [file dirname [info nameof]] @@ -403,7 +406,8 @@ test filesystem-7.1 {load from vfs} {win} { # The real result of this test is what happens when Tcl exits. } {ok} -test filesystem-7.2 {cross-filesystem copy from vfs maintains mtime} { +test filesystem-7.2 {cross-filesystem copy from vfs maintains mtime} \ + {testsimplefilesystem} { set dir [pwd] cd [tcltest::temporaryDirectory] # We created this file several tests ago. @@ -455,7 +459,6 @@ test filesystem-8.2 {relative path objects and use of pwd} { cd .. removeFile [file join abc foo] removeDirectory abc - removeDirectory def cd $origdir set res } {1} |