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.out"
31 : ${MSGUNFMT=msgunfmt}
32 ${MSGUNFMT} mf-12.mo
-o mf-12.out
33 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
35 tmpfiles
="$tmpfiles mf-12.ok"
38 msgstr
"Content-Type: text/plain; charset=ISO-8859-1\n"
40 msgid
"<PRIXFAST16> errors"
41 msgstr
"<PRIXFAST16> Fehler"
43 msgid
"File size is: %<PRId64>"
44 msgstr
"Dateigröße ist: %<PRId64>"
46 msgid
"File age is %10<PRIdMAX> microseconds"
47 msgstr
"Datei ist %10<PRIdMAX> Mikrosekunden alt."
51 ${DIFF} mf-12.ok mf-12.out