| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # |
| 3 | # Basic sanity check for tiffps with PostScript Level 1 output |
| 4 | # |
| 5 | PSFILE="o-tiff2ps-PS1.ps" |
| 6 | . ${srcdir:-.}/common.sh |
| 7 | f_test_stdout "${TIFF2PS} -a -p -1" "${IMG_MINISWHITE_1C_1B}" "${PSFILE}" |
| 8 | catscip-shell system . . cat. "${REFS}/${PSFILE}" | grepscip-shell system . . grep. -v '%%CreationDate:' | grepscip-shell system . . grep. -v '%%Title:' > "${PSFILE}.ref.tmp" |
| 9 | catscip-shell system . . cat. "${PSFILE}" | grepscip-shell system . . grep. -v '%%CreationDate:' | grepscip-shell system . . grep. -v '%%Title:' > "${PSFILE}.tmp" |
| 10 | diffscip-shell system . . diff. -b -u "${PSFILE}.ref.tmp" "${PSFILE}.tmp" || exit 1 |
| 11 | rmscip-shell system . . rm. -f "${PSFILE}.ref.tmp" "${PSFILE}.tmp" |