summaryrefslogtreecommitdiffstats
path: root/tests/imgPPM.test
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-12-03 07:15:09 (GMT)
committerhobbs <hobbs@noemail.net>1999-12-03 07:15:09 (GMT)
commit3ac3db3927b55a2398dfbca3a667841e1dbfb562 (patch)
tree72b9d5cd7f8b40b58f5e881084ad2a0000f3a930 /tests/imgPPM.test
parent4fd36b379f0edfe0652c884bb60133c28e422cb6 (diff)
downloadtk-3ac3db3927b55a2398dfbca3a667841e1dbfb562.zip
tk-3ac3db3927b55a2398dfbca3a667841e1dbfb562.tar.gz
tk-3ac3db3927b55a2398dfbca3a667841e1dbfb562.tar.bz2
* tests/imgPPM.test: fixed test 2.2 to use -format ppm (since
we know have GIF write capability) FossilOrigin-Name: 99441857c178bb4da0ef6ef09056d5a5e2621391
Diffstat (limited to 'tests/imgPPM.test')
-rw-r--r--tests/imgPPM.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/imgPPM.test b/tests/imgPPM.test
index 00abf33..e9c8fd1 100644
--- a/tests/imgPPM.test
+++ b/tests/imgPPM.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: imgPPM.test,v 1.3 1999/04/16 01:51:38 stanton Exp $
+# RCS: @(#) $Id: imgPPM.test,v 1.4 1999/12/03 07:15:10 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -74,7 +74,7 @@ test imgPPM-2.1 {FileWritePPM procedure} {
} {1 {couldn't open "not_a_dir/bar/baz/gorp": no such file or directory} {posix enoent {no such file or directory}}}
test imgPPM-2.2 {FileWritePPM procedure} {
catch {unset data}
- p1 write test2.ppm
+ p1 write -format ppm test2.ppm
set fd [open test2.ppm]
set data [read $fd]
close $fd