diff options
Diffstat (limited to 'tests/fCmd.test')
-rw-r--r-- | tests/fCmd.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test index 9e1b3e6..fbf2216 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.38 2004/03/17 18:14:17 das Exp $ +# RCS: @(#) $Id: fCmd.test,v 1.39 2004/05/19 20:15:31 dkf Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -92,17 +92,17 @@ proc contents {file} { } cd [temporaryDirectory] -set ::tcltest::testConstraints(fileSharing) 0 -set ::tcltest::testConstraints(notFileSharing) 1 +testConstraint fileSharing 0 +testConstraint notFileSharing 1 -set ::tcltest::testConstraints(xdev) 0 +testConstraint xdev 0 if {$tcl_platform(platform) == "unix"} { if {[catch {set m1 [exec df .]; set m2 [exec df /tmp]}] == 0} { set m1 [string range $m1 0 [expr [string first " " $m1]-1]] set m2 [string range $m2 0 [expr [string first " " $m2]-1]] if {$m1 != "" && $m2 != "" && $m1 != $m2 && [file exists $m1] && [file exists $m2]} { - set ::tcltest::testConstraints(xdev) 1 + testConstraint xdev 1 } } } |