singe/thirdparty/SDL2_image/external/libtiff/test/tiff2ps-PS1.sh
2023-10-23 19:38:18 -05:00

9 lines
373 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
diff -I '%%CreationDate:.*' -I '%%Title:.*' -u "${REFS}/${PSFILE}" "${PSFILE}" || exit 1