File tree 4 files changed +16
-5
lines changed
4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 5
5
PSFILE=o-tiff2ps-EPS1.ps
6
6
. ${srcdir:- .} /common.sh
7
7
f_test_stdout " ${TIFF2PS} -e -1" " ${IMG_MINISWHITE_1C_1B} " " ${PSFILE} "
8
- diff -Z -I ' %%CreationDate:.*' -I ' %%Title:.*' -u " ${REFS} /${PSFILE} " " ${PSFILE} " || exit 1
8
+ cat " ${REFS} /${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .ref.tmp"
9
+ cat " ${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .tmp"
10
+ diff -b -u " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp" || exit 1
11
+ rm -f " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp"
Original file line number Diff line number Diff line change 5
5
PSFILE=" o-tiff2ps-PS1.ps"
6
6
. ${srcdir:- .} /common.sh
7
7
f_test_stdout " ${TIFF2PS} -a -p -1" " ${IMG_MINISWHITE_1C_1B} " " ${PSFILE} "
8
- # diff -I '%%(CreationDate|Title):.*' -u "${REFS}/${PSFILE}" "${PSFILE}" || exit 1
9
- diff -Z -I ' %%CreationDate:.*' -I ' %%Title:.*' -u " ${REFS} /${PSFILE} " " ${PSFILE} " || exit 1
8
+ cat " ${REFS} /${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .ref.tmp"
9
+ cat " ${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .tmp"
10
+ diff -b -u " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp" || exit 1
11
+ rm -f " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp"
Original file line number Diff line number Diff line change 5
5
PSFILE=o-tiff2ps-PS2.ps
6
6
. ${srcdir:- .} /common.sh
7
7
f_test_stdout " ${TIFF2PS} -a -p -2" " ${IMG_MINISWHITE_1C_1B} " " ${PSFILE} "
8
- diff -Z -I ' %%CreationDate:.*' -I ' %%Title:.*' -u " ${REFS} /${PSFILE} " " ${PSFILE} " || exit 1
8
+ cat " ${REFS} /${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .ref.tmp"
9
+ cat " ${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .tmp"
10
+ diff -b -u " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp" || exit 1
11
+ rm -f " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp"
Original file line number Diff line number Diff line change 5
5
PSFILE=o-tiff2ps-PS3.ps
6
6
. ${srcdir:- .} /common.sh
7
7
f_test_stdout " ${TIFF2PS} -a -p -3" " ${IMG_MINISWHITE_1C_1B} " " ${PSFILE} "
8
- diff -Z -I ' %%CreationDate:.*' -I ' %%Title:.*' -u " ${REFS} /${PSFILE} " " ${PSFILE} " || exit 1
8
+ cat " ${REFS} /${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .ref.tmp"
9
+ cat " ${PSFILE} " | grep -v ' %%CreationDate:' | grep -v ' %%Title:' > " ${PSFILE} .tmp"
10
+ diff -b -u " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp" || exit 1
11
+ rm -f " ${PSFILE} .ref.tmp" " ${PSFILE} .tmp"
You can’t perform that action at this time.
0 commit comments