summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-03 07:15:10 (GMT)
committerhobbs <hobbs>1999-12-03 07:15:10 (GMT)
commit0d13ab2ed97c0d1935e9a1601d45e4f1ccbbf318 (patch)
tree72b9d5cd7f8b40b58f5e881084ad2a0000f3a930 /tests
parent557bd380adb2d41523c2af7486d2fdcb1fb71363 (diff)
downloadtk-0d13ab2ed97c0d1935e9a1601d45e4f1ccbbf318.zip
tk-0d13ab2ed97c0d1935e9a1601d45e4f1ccbbf318.tar.gz
tk-0d13ab2ed97c0d1935e9a1601d45e4f1ccbbf318.tar.bz2
* tests/imgPPM.test: fixed test 2.2 to use -format ppm (since
we know have GIF write capability)
Diffstat (limited to 'tests')
-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