[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 06/35: [tests]: Tweak PDFPIC test input.
From: |
G. Branden Robinson |
Subject: |
[groff] 06/35: [tests]: Tweak PDFPIC test input. |
Date: |
Mon, 21 Feb 2022 06:15:50 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 75c04d5918d2e90a504736adc1623354e3bc645f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Feb 15 17:57:54 2022 +1100
[tests]: Tweak PDFPIC test input.
* tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh: Eliminate
unnecessary blank lines from input. Also call gs(1) with '-q' in
addition to '-o'. (Why does the latter not imply the former?!)
Thanks to Deri James for the advice.
---
ChangeLog | 9 +++++++++
tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh | 8 +++-----
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ac836b91..0ad171f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-02-15 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ [tests]: Tweak PDFPIC test input.
+
+ * tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh:
+ Eliminate unnecessary blank lines from input. Also call gs(1)
+ with '-q' in addition to '-o'. (Why does the latter not imply
+ the former?!) Thanks to Deri James for the advice.
+
2022-02-15 G. Branden Robinson <g.branden.robinson@gmail.com>
* tmac/pdfpic.tmac: Slightly refactor.
diff --git a/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
b/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
index ee642b6c..8dd4a5eb 100755
--- a/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
+++ b/tmac/tests/pdfpic_does-not-choke-on-bad-pdfinfo-output.sh
@@ -38,15 +38,13 @@ fi
fail=
-input='
-.am pdfpic@error
+input='.am pdfpic@error
. ab
..
Here is a picture of a wildebeest.
-.PDFPIC '"$gnu_pdf"'
-'
+.PDFPIC '"$gnu_pdf"
-if ! gs -o - -sDEVICE=pdfwrite -f "$gnu_eps" \
+if ! gs -q -o - -sDEVICE=pdfwrite -f "$gnu_eps" \
-c "[ /Title (\000B\000U\000S\000T\000E\000D) /DOCINFO pdfmark" \
> "$gnu_pdf"
then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 06/35: [tests]: Tweak PDFPIC test input.,
G. Branden Robinson <=