summaryrefslogtreecommitdiff
path: root/test/tiff2ps-PS1.sh
diff options
context:
space:
mode:
authorThomas Bernard <miniupnp@free.fr>2020-03-05 23:15:06 +0100
committerThomas Bernard <miniupnp@free.fr>2020-03-05 23:15:06 +0100
commited9d09cf0a5453e4e368b7f6a95d172a3fa3e46d (patch)
treec50b5185e5438da1f1458265c10e34c379ee8726 /test/tiff2ps-PS1.sh
parenta6d3c1d64b655f5f151a01fda2b7b0bf50cc61aa (diff)
downloadlibtiff-git-ed9d09cf0a5453e4e368b7f6a95d172a3fa3e46d.tar.gz
make tests pass under FreeBSD.
the -I option for the GNU diff and the FreeBSD diff behaves differently regarding escaping the ( ) and | By using two -I option, we avoid using such charracters.
Diffstat (limited to 'test/tiff2ps-PS1.sh')
-rwxr-xr-xtest/tiff2ps-PS1.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tiff2ps-PS1.sh b/test/tiff2ps-PS1.sh
index 73171b98..ef08b13b 100755
--- a/test/tiff2ps-PS1.sh
+++ b/test/tiff2ps-PS1.sh
@@ -5,4 +5,5 @@
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|Title):.*' -u "${REFS}/${PSFILE}" "${PSFILE}" || exit 1
+diff -I '%%CreationDate:.*' -I '%%Title:.*' -u "${REFS}/${PSFILE}" "${PSFILE}" || exit 1