summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-c-4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-11-04 14:40:03 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:13 +0200
commit7eed9a5a18d555849a1f47a24ce0463c0eaf87e7 (patch)
treeb4fcc1379c0bc87360cf5d5d972947fc42d5a850 /gettext-tools/tests/xgettext-c-4
parent20dfd0b205b676b296f34bf8849ab12d508099cf (diff)
downloadexternal_gettext-7eed9a5a18d555849a1f47a24ce0463c0eaf87e7.zip
external_gettext-7eed9a5a18d555849a1f47a24ce0463c0eaf87e7.tar.gz
external_gettext-7eed9a5a18d555849a1f47a24ce0463c0eaf87e7.tar.bz2
Update after rename.
Diffstat (limited to 'gettext-tools/tests/xgettext-c-4')
-rwxr-xr-xgettext-tools/tests/xgettext-c-414
1 files changed, 7 insertions, 7 deletions
diff --git a/gettext-tools/tests/xgettext-c-4 b/gettext-tools/tests/xgettext-c-4
index ce100a4..5dd8c0c 100755
--- a/gettext-tools/tests/xgettext-c-4
+++ b/gettext-tools/tests/xgettext-c-4
@@ -5,25 +5,25 @@
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
-tmpfiles="$tmpfiles xg-test5.in.c"
-cat <<EOF > xg-test5.in.c
+tmpfiles="$tmpfiles xg-c-4.in.c"
+cat <<EOF > xg-c-4.in.c
main()??<printf(gettext("Hello, " "World!" "??/n")); ??>
EOF
-tmpfiles="$tmpfiles xg-test5.po"
+tmpfiles="$tmpfiles xg-c-4.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location --trigraphs xg-test5.in.c -d xg-test5
+${XGETTEXT} --omit-header --no-location --trigraphs xg-c-4.in.c -d xg-c-4
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-tmpfiles="$tmpfiles xg-test5.ok"
-cat <<EOF > xg-test5.ok
+tmpfiles="$tmpfiles xg-c-4.ok"
+cat <<EOF > xg-c-4.ok
#, c-format
msgid "Hello, World!\n"
msgstr ""
EOF
: ${DIFF=diff}
-${DIFF} xg-test5.ok xg-test5.po
+${DIFF} xg-c-4.ok xg-c-4.po
result=$?
rm -fr $tmpfiles