summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-10-10 23:04:25 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-10-10 23:04:25 (GMT)
commitd918760272b92d4903c0145b612bf8b353c8a51f (patch)
treeff6fe880ad6dc4caae2e77206a430daf5858065b
parent9e61a85e86369a59a4ea4fccf7c5ef7b906687f2 (diff)
downloadtcl-d918760272b92d4903c0145b612bf8b353c8a51f.zip
tcl-d918760272b92d4903c0145b612bf8b353c8a51f.tar.gz
tcl-d918760272b92d4903c0145b612bf8b353c8a51f.tar.bz2
Backport test fix.
-rw-r--r--tests/macOSXFCmd.test20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/macOSXFCmd.test b/tests/macOSXFCmd.test
index 071f11b..132b2fe 100644
--- a/tests/macOSXFCmd.test
+++ b/tests/macOSXFCmd.test
@@ -151,16 +151,16 @@ test macOSXFCmd-4.1 {TclMacOSXMatchType} {macosxFileAttr notRoot} {
file attributes dir.test -hidden 1
}
set res [list \
- [catch {glob *.test} msg] $msg \
- [catch {glob -types FOOT *.test} msg] $msg \
- [catch {glob -types {{macintosh type FOOT}} *.test} msg] $msg \
- [catch {glob -types FOOTT *.test} msg] $msg \
- [catch {glob -types {{macintosh type FOOTT}} *.test} msg] $msg \
- [catch {glob -types {{macintosh type {}}} *.test} msg] $msg \
- [catch {glob -types {{macintosh creator FOOC}} *.test} msg] $msg \
- [catch {glob -types {{macintosh creator FOOC} {macintosh type FOOT}} *.test} msg] $msg \
- [catch {glob -types hidden *.test} msg] $msg \
- [catch {glob -types {hidden FOOT} *.test} msg] $msg \
+ [catch {lsort [glob *.test]} msg] $msg \
+ [catch {lsort [glob -types FOOT *.test]} msg] $msg \
+ [catch {lsort [glob -types {{macintosh type FOOT}} *.test]} msg] $msg \
+ [catch {lsort [glob -types FOOTT *.test]} msg] $msg \
+ [catch {lsort [glob -types {{macintosh type FOOTT}} *.test]} msg] $msg \
+ [catch {lsort [glob -types {{macintosh type {}}} *.test]} msg] $msg \
+ [catch {lsort [glob -types {{macintosh creator FOOC}} *.test]} msg] $msg \
+ [catch {lsort [glob -types {{macintosh creator FOOC} {macintosh type FOOT}} *.test]} msg] $msg \
+ [catch {lsort [glob -types hidden *.test]} msg] $msg \
+ [catch {lsort [glob -types {hidden FOOT} *.test]} msg] $msg \
]
cd ..
file delete -force globtest