summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Cuadrado Juan <me@viccuad.me>2018-01-05 20:20:19 +0100
committerVíctor Cuadrado Juan <me@viccuad.me>2018-01-05 20:20:19 +0100
commit6283e636cb88200f3c41f91adc7033d1711ba06f (patch)
tree8fa90aaa92a9b9060e45797d6e44c20e102edd1a
parentacb10fa13afa2c187de5c794634a693f13b3d3a1 (diff)
Add autopkgtest tests for simple usage
-rw-r--r--debian/copyright24
-rw-r--r--debian/source/include-binaries2
-rw-r--r--debian/tests/control5
-rw-r--r--debian/tests/examples/fax2d.pbmbin0 -> 233764 bytes
-rw-r--r--debian/tests/examples/fax2d.tifbin0 -> 32817 bytes
5 files changed, 31 insertions, 0 deletions
diff --git a/debian/copyright b/debian/copyright
index e3077f2..2e12a5f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -26,3 +26,27 @@ License: GPL-2+
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
+
+Files: debian/tests/examples/fax2d.*
+Copyright: 1988-1997 Sam Leffler
+ 1991-1997 Silicon Graphics, Inc.
+Comment: extracted from ftp://ftp.sgi.com/graphics/tiff
+License: BSD-3-clause
+ Permission to use, copy, modify, distribute, and sell this software and
+ its documentation for any purpose is hereby granted without fee, provided
+ that (i) the above copyright notices and this permission notice appear in
+ all copies of the software and related documentation, and (ii) the names of
+ Sam Leffler and Silicon Graphics may not be used in any advertising or
+ publicity relating to the software without the specific, prior written
+ permission of Sam Leffler and Silicon Graphics.
+ .
+ THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+ .
+ IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
+ ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
+ LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ OF THIS SOFTWARE.
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..e9ef4b8
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,2 @@
+debian/tests/examples/fax2d.pbm
+debian/tests/examples/fax2d.tif
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..3c066b7
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Test-Command: [[ $(pbm_findskew debian/tests/examples/fax2d.pbm) == "-0.419639" ]]
+Depends: @
+
+Test-Command: [[ $(tiff_findskew debian/tests/examples/fax2d.tif) == "-0.419639" ]]
+Depends: @ \ No newline at end of file
diff --git a/debian/tests/examples/fax2d.pbm b/debian/tests/examples/fax2d.pbm
new file mode 100644
index 0000000..95112fb
--- /dev/null
+++ b/debian/tests/examples/fax2d.pbm
Binary files differ
diff --git a/debian/tests/examples/fax2d.tif b/debian/tests/examples/fax2d.tif
new file mode 100644
index 0000000..ce38c00
--- /dev/null
+++ b/debian/tests/examples/fax2d.tif
Binary files differ