diff options
author | Víctor Cuadrado Juan <me@viccuad.me> | 2018-01-05 20:20:19 +0100 |
---|---|---|
committer | Víctor Cuadrado Juan <me@viccuad.me> | 2018-01-05 20:20:19 +0100 |
commit | 6283e636cb88200f3c41f91adc7033d1711ba06f (patch) | |
tree | 8fa90aaa92a9b9060e45797d6e44c20e102edd1a | |
parent | acb10fa13afa2c187de5c794634a693f13b3d3a1 (diff) |
Add autopkgtest tests for simple usage
-rw-r--r-- | debian/copyright | 24 | ||||
-rw-r--r-- | debian/source/include-binaries | 2 | ||||
-rw-r--r-- | debian/tests/control | 5 | ||||
-rw-r--r-- | debian/tests/examples/fax2d.pbm | bin | 0 -> 233764 bytes | |||
-rw-r--r-- | debian/tests/examples/fax2d.tif | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..95112fb --- /dev/null +++ b/debian/tests/examples/fax2d.pbm diff --git a/debian/tests/examples/fax2d.tif b/debian/tests/examples/fax2d.tif Binary files differnew file mode 100644 index 0000000..ce38c00 --- /dev/null +++ b/debian/tests/examples/fax2d.tif |