Skip to content

Commit dd5ca5f

Browse files
author
culler
committed
Only run the new test on Aqua. It hangs on XQuartz.
1 parent 5c13e9c commit dd5ca5f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/filebox.test

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,16 @@ test fileDialog-0.2 {GetFileName: file types: MakeFilter() fails} {
2323
regsub -all "\0" $msg {\\0} msg
2424
list $x $msg
2525
} {1 {bad Macintosh file type "\0\0"}}
26-
test fileDialog-0.3 {GetFileName: file types: bad filetype} {
27-
# Check for the crash reported in ticket 080a28104.
26+
test fileDialog-0.3 {GetFileName: file types: bad filetype} \
27+
-constraints {[tk windowingsystem] eq "aqua"} \
28+
-body {
29+
# Check for the Aqua crash reported in ticket 080a28104.
2830

2931
set filename [tk_getOpenFile -filetypes {
3032
{"Invalid extension" {x.y}}
3133
{"All files" {*}}
3234
}]
33-
} {}
35+
} -result {}
3436

3537
set tk_strictMotif_old $tk_strictMotif
3638

0 commit comments

Comments
 (0)