3 # Test ISO C 99 <inttypes.h> format string directives.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mf-12.po"
11 msgstr "Content-Type: text/plain; charset=ISO-8859-1\n"
14 msgid "File size is: %<PRId64>"
15 msgstr "Dateigröße ist: %<PRId64>"
18 msgid "File age is %10<PRIdMAX> microseconds"
19 msgstr "Datei ist %10<PRIdMAX> Mikrosekunden alt."
21 msgid "<PRIXFAST16> errors"
22 msgstr "<PRIXFAST16> Fehler"
25 tmpfiles="$tmpfiles mf-12.mo"
27 ${MSGFMT} -o mf-12.mo mf-12.po
28 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
30 tmpfiles="$tmpfiles mf-12.tmp mf-12.out"
31 : ${MSGUNFMT=msgunfmt}
32 ${MSGUNFMT} -o mf-12.tmp mf-12.mo
33 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
34 LC_ALL=C tr -d '\r' < mf-12.tmp > mf-12.out
35 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
37 tmpfiles="$tmpfiles mf-12.ok"
40 msgstr "Content-Type: text/plain; charset=ISO-8859-1\n"
42 msgid "<PRIXFAST16> errors"
43 msgstr "<PRIXFAST16> Fehler"
46 msgid "File size is: %<PRId64>"
47 msgstr "Dateigröße ist: %<PRId64>"
50 msgid "File age is %10<PRIdMAX> microseconds"
51 msgstr "Datei ist %10<PRIdMAX> Mikrosekunden alt."
55 ${DIFF} mf-12.ok mf-12.out