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.
This commit is contained in:
parent
a6d3c1d64b
commit
ed9d09cf0a
@ -5,4 +5,4 @@
|
|||||||
PSFILE=o-tiff2ps-EPS1.ps
|
PSFILE=o-tiff2ps-EPS1.ps
|
||||||
. ${srcdir:-.}/common.sh
|
. ${srcdir:-.}/common.sh
|
||||||
f_test_stdout "${TIFF2PS} -e -1" "${IMG_MINISWHITE_1C_1B}" "${PSFILE}"
|
f_test_stdout "${TIFF2PS} -e -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
|
||||||
|
@ -5,4 +5,5 @@
|
|||||||
PSFILE="o-tiff2ps-PS1.ps"
|
PSFILE="o-tiff2ps-PS1.ps"
|
||||||
. ${srcdir:-.}/common.sh
|
. ${srcdir:-.}/common.sh
|
||||||
f_test_stdout "${TIFF2PS} -a -p -1" "${IMG_MINISWHITE_1C_1B}" "${PSFILE}"
|
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
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
PSFILE=o-tiff2ps-PS2.ps
|
PSFILE=o-tiff2ps-PS2.ps
|
||||||
. ${srcdir:-.}/common.sh
|
. ${srcdir:-.}/common.sh
|
||||||
f_test_stdout "${TIFF2PS} -a -p -2" "${IMG_MINISWHITE_1C_1B}" "${PSFILE}"
|
f_test_stdout "${TIFF2PS} -a -p -2" "${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
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
PSFILE=o-tiff2ps-PS3.ps
|
PSFILE=o-tiff2ps-PS3.ps
|
||||||
. ${srcdir:-.}/common.sh
|
. ${srcdir:-.}/common.sh
|
||||||
f_test_stdout "${TIFF2PS} -a -p -3" "${IMG_MINISWHITE_1C_1B}" "${PSFILE}"
|
f_test_stdout "${TIFF2PS} -a -p -3" "${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
|
||||||
|
Loading…
Reference in New Issue
Block a user