diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/answer/masknoalpha-b.png | bin | 0 -> 85 bytes | |||
-rw-r--r-- | test/answer/masknoalpha-g.png | bin | 0 -> 118 bytes | |||
-rw-r--r-- | test/answer/masknoalpha-r.png | bin | 0 -> 129 bytes | |||
-rw-r--r-- | test/answer/masknoalpha-w.png | bin | 0 -> 87 bytes | |||
-rwxr-xr-x | test/dotest | 30 | ||||
-rw-r--r-- | test/source/masknoalpha.xcf.gz | bin | 0 -> 408 bytes |
6 files changed, 19 insertions, 11 deletions
diff --git a/test/answer/masknoalpha-b.png b/test/answer/masknoalpha-b.png Binary files differnew file mode 100644 index 0000000..e7aeafc --- /dev/null +++ b/test/answer/masknoalpha-b.png diff --git a/test/answer/masknoalpha-g.png b/test/answer/masknoalpha-g.png Binary files differnew file mode 100644 index 0000000..e292b59 --- /dev/null +++ b/test/answer/masknoalpha-g.png diff --git a/test/answer/masknoalpha-r.png b/test/answer/masknoalpha-r.png Binary files differnew file mode 100644 index 0000000..f27f1c6 --- /dev/null +++ b/test/answer/masknoalpha-r.png diff --git a/test/answer/masknoalpha-w.png b/test/answer/masknoalpha-w.png Binary files differnew file mode 100644 index 0000000..daff556 --- /dev/null +++ b/test/answer/masknoalpha-w.png diff --git a/test/dotest b/test/dotest index ae86b1f..1aa34ac 100755 --- a/test/dotest +++ b/test/dotest @@ -1,20 +1,21 @@ #! /bin/bash # Regression test for Xcftools -# Copyright (C) 2006 Henning Makholm # -# This test script is free software; you can redistribute it and/or -# modify it under the terms of version 2 of the GNU General Public -# License as published by the Free Software Foundation. +# This file was written by Henning Makholm <henning@makholm.net> +# It is hereby in the public domain. +# +# In jurisdictions that do not recognise grants of copyright to the +# public domain: I, the author and (presumably, in those jurisdictions) +# copyright holder, hereby permit anyone to distribute and use this code, +# in source code or binary form, with or without modifications. This +# permission is world-wide and irrevocable. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# Of course, I will not be liable for any errors or shortcomings in the +# code, since I give it away without asking any compenstations. # -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# If you use or distribute this code, I would appreciate receiving +# credit for writing it, in whichever way you find proper and customary. export LC_CTYPE=C export LC_MESSAGES=C @@ -480,6 +481,13 @@ testpnm o:index256 i256 testpnm o:burmid tiletest Mid -S 27x25 -O 5,5 -b '#963' +# Regression test for bugs fixed in 1.0.6 + +testpnm o:masknoalpha-r masknoalpha -b "#FF0000" +testpnm o:masknoalpha-g masknoalpha -b "#888888" +testpnm o:masknoalpha-b masknoalpha -b "#000000" +testpnm o:masknoalpha-w masknoalpha -b "#FFFFFF" + ############################################################################# ############################################################################# # diff --git a/test/source/masknoalpha.xcf.gz b/test/source/masknoalpha.xcf.gz Binary files differnew file mode 100644 index 0000000..9ba1b35 --- /dev/null +++ b/test/source/masknoalpha.xcf.gz |