summaryrefslogtreecommitdiffstats
path: root/tests/imgBmap.test
diff options
context:
space:
mode:
authorsimonbachmann <simonbachmann@bluewin.ch>2017-04-30 09:04:00 (GMT)
committersimonbachmann <simonbachmann@bluewin.ch>2017-04-30 09:04:00 (GMT)
commit40501b1ef03d1d2748a78033cb1ac5209b9ea706 (patch)
treec05a03641ecaf1ba37ec99d7b63f4a9ed652f064 /tests/imgBmap.test
parent1ecfca87f2dc7f8676bc0aca4d724bcb00f68b31 (diff)
downloadtk-40501b1ef03d1d2748a78033cb1ac5209b9ea706.zip
tk-40501b1ef03d1d2748a78033cb1ac5209b9ea706.tar.gz
tk-40501b1ef03d1d2748a78033cb1ac5209b9ea706.tar.bz2
Fix [e4336bef5d] (Unexpected result when copying a photo image to itself): if source and destination image are the same, make a local copy of image data before the actual copy/zoom/subsample.
Diffstat (limited to 'tests/imgBmap.test')
-rw-r--r--tests/imgBmap.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/imgBmap.test b/tests/imgBmap.test
index 5ffd7c4..e7f2c7e 100644
--- a/tests/imgBmap.test
+++ b/tests/imgBmap.test
@@ -380,7 +380,8 @@ test imageBmap-7.9 {ImgBmapCmd procedure} -body {
test imageBmap-7.10 {ImgBmapCmd procedure} -body {
i1 gorp
} -returnCodes error -result {bad option "gorp": must be cget or configure}
-
+# Clean it up after use!!
+imageCleanup
test imageBmap-8.1 {ImgBmapGet/Free procedures, shared instances} -setup {
destroy .c