diff options
Diffstat (limited to 'tests/macFCmd.test')
-rw-r--r-- | tests/macFCmd.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/macFCmd.test b/tests/macFCmd.test index 275c466..dbe1fef 100644 --- a/tests/macFCmd.test +++ b/tests/macFCmd.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: macFCmd.test,v 1.8 2001/11/23 01:26:14 das Exp $ +# RCS: @(#) $Id: macFCmd.test,v 1.9 2002/06/05 11:59:21 das Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -36,9 +36,9 @@ test macFCmd-1.1 {GetFileFinderAttributes - no file} {macOnly} { test macFCmd-1.2 {GetFileFinderAttributes - creator} {macOnly} { catch {file delete -force foo.file} catch {close [open foo.file w]} - list [catch {file attributes foo.file -creator} msg] $msg \ - [file delete -force foo.file] -} {0 {MPW } {}} + list [catch {file attributes foo.file -creator} msg] \ + [regexp {MPW |CWIE} $msg] [file delete -force foo.file] +} {0 1 {}} test macFCmd-1.3 {GetFileFinderAttributes - type} {macOnly} { catch {file delete -force foo.file} catch {close [open foo.file w]} |