summaryrefslogtreecommitdiffstats
path: root/tests/macFCmd.test
diff options
context:
space:
mode:
authordas <das@noemail.net>2002-06-05 11:59:17 (GMT)
committerdas <das@noemail.net>2002-06-05 11:59:17 (GMT)
commit2eb4163aa43f3c7630004f359c5a2018e6874c6b (patch)
treee1fd79f317196368a93f0b09f69169f56c39fc49 /tests/macFCmd.test
parentb2df3fcfecc93394c6adfa476ecb970724a9b9aa (diff)
downloadtcl-2eb4163aa43f3c7630004f359c5a2018e6874c6b.zip
tcl-2eb4163aa43f3c7630004f359c5a2018e6874c6b.tar.gz
tcl-2eb4163aa43f3c7630004f359c5a2018e6874c6b.tar.bz2
* generic/tclFileName.c (TclGlob): mac specific fix to
recent changes in 'glob -tails' handling. * mac/tclMacPort.h: * mac/tclMacChan.c: fixed TIP#91 bustage. * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf conversion of text resource contents. * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator. FossilOrigin-Name: a996da49e4d12db666e2ec8f299e2a27724925a9
Diffstat (limited to 'tests/macFCmd.test')
-rw-r--r--tests/macFCmd.test8
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]}