summaryrefslogtreecommitdiffstats
path: root/test/dotest
diff options
context:
space:
mode:
authorHenning Makholm <henning@makholm.net>2009-07-02 18:00:00 (EDT)
committer Julien Jorge <julien.jorge@stuff-o-matic.com>2013-01-10 16:11:16 (EST)
commitf43ff6cf8942deab3e554fc2ed1ca83911c62043 (patch)
tree6240bbec976d01d68ce5e817e0d403febacf8ddf /test/dotest
parent70a9b1ca8750a43e8092807d174a8c49407aa213 (diff)
downloadxcftools-f43ff6cf8942deab3e554fc2ed1ca83911c62043.zip
xcftools-f43ff6cf8942deab3e554fc2ed1ca83911c62043.tar.gz
xcftools-f43ff6cf8942deab3e554fc2ed1ca83911c62043.tar.bz2
Import of release 1.0.6
Diffstat (limited to 'test/dotest')
-rwxr-xr-xtest/dotest30
1 files changed, 19 insertions, 11 deletions
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"
+
#############################################################################
#############################################################################
#