Commit 915af297f for imagemagick.org
commit 915af297fa5495f4404436b9a1cbbda0e12f30e9
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Sun Oct 25 18:07:30 2026 +0100
Corrected unit test.
diff --git a/tests/cli-tiff.tap b/tests/cli-tiff.tap
index 89dbfd707..536034894 100644
--- a/tests/cli-tiff.tap
+++ b/tests/cli-tiff.tap
@@ -26,8 +26,11 @@ echo "1..1"
${MAGICK} -size 100x100 xc:white -alpha set -colorspace gray \
-threshold 50% -compress group4 tiff_group4_alpha.tiff &&
- [ "$(${IDENTIFY} -format "%C %[channels]" tiff_group4_alpha.tiff)" = \
- "Group4 gray" ] && echo "ok" || echo "not ok"
+ actual=$(${IDENTIFY} -format "%C %A" tiff_group4_alpha.tiff) &&
+ [ "$actual" = "Group4 Undefined" ] && echo "ok" || {
+ echo "not ok"
+ echo "# expected 'Group4 Undefined', got '$actual'"
+ }
rm -f tiff_group4_alpha.tiff
: