summaryrefslogtreecommitdiff
path: root/test/tiff2ps-PS1.sh
diff options
context:
space:
mode:
authorThomas Bernard <miniupnp@free.fr>2019-04-02 16:53:21 +0200
committerThomas Bernard <miniupnp@free.fr>2019-04-03 14:55:29 +0200
commit57c112bfa9b116609f05eff7534329852b2860f0 (patch)
treedd49d83aa0c677b76126f8187c3ba084f7a5e11a /test/tiff2ps-PS1.sh
parent05029fb7f1ecf771abaf90b5705b6cab9eb522a7 (diff)
downloadlibtiff-git-57c112bfa9b116609f05eff7534329852b2860f0.tar.gz
Add output check for tiff2ps
note : the reference files have been generated in master branch
Diffstat (limited to 'test/tiff2ps-PS1.sh')
-rwxr-xr-xtest/tiff2ps-PS1.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tiff2ps-PS1.sh b/test/tiff2ps-PS1.sh
index 65921597..73171b98 100755
--- a/test/tiff2ps-PS1.sh
+++ b/test/tiff2ps-PS1.sh
@@ -2,5 +2,7 @@
#
# 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}" "o-tiff2ps-PS1.ps" \ No newline at end of file
+f_test_stdout "${TIFF2PS} -a -p -1" "${IMG_MINISWHITE_1C_1B}" "${PSFILE}"
+diff -I '%%\(CreationDate\|Title\):*' -u "${REFS}/${PSFILE}" "${PSFILE}" || exit 1