1 # This file is a Tcl script to test out various known bugs that will
2 # cause Tk to crash. This file ends with .tcl instead of .test to make
3 # sure it isn't run when you type "source all". We currently are not
4 # shipping this file with the rest of the source release.
6 # Copyright (c) 1996 Sun Microsystems, Inc.
8 # See the file "license.terms" for information on usage and redistribution
9 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
13 if {[info procs test] != "test"} {
17 test crash-1.0 {imgPhoto} {
20 catch {image create photo p2 -file bogus}
27 test crash-1.1 {color} {
28 . configure -bg rgb:345