diff options
author | Thomas Bernard <miniupnp@free.fr> | 2020-03-05 23:15:06 +0100 |
---|---|---|
committer | Thomas Bernard <miniupnp@free.fr> | 2020-03-05 23:15:06 +0100 |
commit | ed9d09cf0a5453e4e368b7f6a95d172a3fa3e46d (patch) | |
tree | c50b5185e5438da1f1458265c10e34c379ee8726 /test/tiff2ps-PS1.sh | |
parent | a6d3c1d64b655f5f151a01fda2b7b0bf50cc61aa (diff) | |
download | libtiff-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-x | test/tiff2ps-PS1.sh | 3 |
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 |