From f43ff6cf8942deab3e554fc2ed1ca83911c62043 Mon Sep 17 00:00:00 2001 From: Henning Makholm Date: Thu, 02 Jul 2009 18:00:00 -0400 Subject: Import of release 1.0.6 --- (limited to 'test/dotest') 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 +# 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" + ############################################################################# ############################################################################# # -- cgit v0.9.1