libtiff/test/tiff2ps-PS1.sh
Thomas Bernard 57c112bfa9
Add output check for tiff2ps
note : the reference files have been generated in master branch
2019-04-03 14:55:29 +02:00

9 lines
285 B
Bash
Executable File

#!/bin/sh
#
# Basic sanity check for tiffps with PostScript Level 1 output
#
PSFILE="o-tiff2ps-PS1.ps"
. ${srcdir:-.}/common.sh
f_test_stdout "${TIFF2PS} -a -p -1" "${IMG_MINISWHITE_1C_1B}" "${PSFILE}"
diff -I '%%\(CreationDate\|Title\):*' -u "${REFS}/${PSFILE}" "${PSFILE}" || exit 1