[PATCH] Add regression test for Trackers 832 and 714.

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


Check that output file names containing extended Latin accents
and other UTF-8 characters do not get mangled by Lilypond before being
passed to the back-end processor, causing ghostscript especially to crash.

Signed-off-by: Ian Hulin <ian@xxxxxxxxxxxx>
---
 input/regression/output-filenames-with-accents.ly |   34 +++++++++++++++=
++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 input/regression/output-filenames-with-accents.ly

diff --git a/input/regression/output-filenames-with-accents.ly b/input/re=
gression/output-filenames-with-accents.ly
new file mode 100644
index 0000000..8ba9d94
--- /dev/null
+++ b/input/regression/output-filenames-with-accents.ly
@@ -0,0 +1,34 @@
+\version "2.13.5"
+
+\header {
+  texidoc =3D "Using extended Latin characters like =C5=A1 and =C4=8D
+  in output file-names should not cause any problems with
+  backend processors.  We test this here by using such
+  characters in output-suffix"
+ =20
+  dedication =3D "Lilypond Regression Test"
+  title =3D "M=C3=A1 Vlast"
+  subtitle =3D "Symphonic Tone Poem Cycle"
+  instrument =3D "Orchestra"
+  composer =3D "Bed=C5=99ich =C5=A0metana"
+  opus =3D "Opus 64"
+}
+% Set up variables
+globalIV =3D {\key f \major \time 4/4}
+violinmIV =3D \relative c'' { \globalIV  d1 | }
+
+%Now produce back-end files with names using extended accents
+
+"output-suffix" =3D "Z_=C4=8Desk=C3=BDch_luh=C5=AF_a_h=C3=A1j=C5=AF"
+\book {
+  \header {
+   subsubtitle =3D "IV. Z =C4=8Desk=C3=BDch luh=C5=AF a h=C3=A1j=C5=AF"=20
+  }
+  \score {
+    \new Staff  \violinmIV
+    \layout { }
+    \midi { }
+  }
+}
+
+
--=20
1.6.3.3


--------------030200030503040008010607
Content-Type: application/x-gzip;
 name="Regression-test-patch.tar.gz"
Content-Disposition: inline;
 filename="Regression-test-patch.tar.gz"
Content-Transfer-Encoding: base64

H4sIAJRAAUsAA+2V4W7bNhDH85lPcTBQdIVNWbIUxza2IV2GogHarljSDOg8BDRFWYwlUR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Nk2680zNWHZ4gsaX04VYQQLT
nJ3h5TU1MhcQ9SP0XEqFLZw3ZtNKZFiDpQD+9ClcwnQTAuIA2/TKSuHJG3VujyCu+dbd0vao
Pan1ZVc/VMbdDYcBOg9PwO7l/emnD0Ivbv7i6WlWp7cfT9lpenN9dvsRtzedKbVolfdAhrbi
20U/PPHgPWwCQRMIGKwDNcd81UTR3N6VbRCY2qY7MgybHaabaqznMrbCbLEUV+uBXMby7udV
U3p8YSeSwBt6oRcS8l//pTocDofD4XA4HA6Hw+FwOBwOh8PhcDgcDofD8a/zN1sMm5AAKAAA

--------------030200030503040008010607--

---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/