diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2011-01-01 15:14:42 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2011-01-01 15:14:42 (GMT) |
commit | 3ebd74d3d8fd0c54d15b9b41d6859595655e7205 (patch) | |
tree | 06031b0878fe01f3aa9ec4610a723046d9c4fe24 /tests/fileSystem.test | |
parent | acda4274ef183d068941ca26ec07cf62197f323f (diff) | |
download | tcl-3ebd74d3d8fd0c54d15b9b41d6859595655e7205.zip tcl-3ebd74d3d8fd0c54d15b9b41d6859595655e7205.tar.gz tcl-3ebd74d3d8fd0c54d15b9b41d6859595655e7205.tar.bz2 |
Clean up of tests and conversion to tcltest 2. Target has been to get init and
cleanup code out of the test body and into the -setup/-cleanup stanzas.
Diffstat (limited to 'tests/fileSystem.test')
-rw-r--r-- | tests/fileSystem.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fileSystem.test b/tests/fileSystem.test index 1691eb5..6ab554b 100644 --- a/tests/fileSystem.test +++ b/tests/fileSystem.test @@ -36,7 +36,7 @@ if {[testConstraint win]} { set vols [string map [list :/ {}] [file volumes]] for {set i 0} {$i < 26} {incr i} { set drive [format %c [expr {$i + 65}]] - if {[lsearch -exact $vols $drive] == -1} { + if {$drive ni $vols} { testConstraint unusedDrive 1 break } |