summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/gettext-3
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2013-05-29 18:41:25 +0900
committerDaiki Ueno <ueno@gnu.org>2013-05-30 13:07:31 +0900
commit3533f6cc3521ead6ed20740e5256c4837786a35c (patch)
treee88a169aee8938695ec7eb7762fe852db300b2e4 /gettext-tools/tests/gettext-3
parent2060aff4d9799b6a42774c76706ac5ab6e7cba96 (diff)
downloadexternal_gettext-3533f6cc3521ead6ed20740e5256c4837786a35c.zip
external_gettext-3533f6cc3521ead6ed20740e5256c4837786a35c.tar.gz
external_gettext-3533f6cc3521ead6ed20740e5256c4837786a35c.tar.bz2
Use distinct temporary file names in tests.
Diffstat (limited to 'gettext-tools/tests/gettext-3')
-rwxr-xr-xgettext-tools/tests/gettext-315
1 files changed, 8 insertions, 7 deletions
diff --git a/gettext-tools/tests/gettext-3 b/gettext-tools/tests/gettext-3
index 5218dc3..49a0fbc 100755
--- a/gettext-tools/tests/gettext-3
+++ b/gettext-tools/tests/gettext-3
@@ -31,15 +31,16 @@ LC_ALL=fr_FR ./testlocale || {
exit 77
}
-tmpfiles="$tmpfiles de_DE fr_FR"
-test -d de_DE || mkdir de_DE
-test -d de_DE/LC_MESSAGES || mkdir de_DE/LC_MESSAGES
-test -d fr_FR || mkdir fr_FR
-test -d fr_FR/LC_MESSAGES || mkdir fr_FR/LC_MESSAGES
+tmpfiles="$tmpfiles gt-3"
+test -d gt-3 || mkdir gt-3
+test -d gt-3/de_DE || mkdir gt-3/de_DE
+test -d gt-3/de_DE/LC_MESSAGES || mkdir gt-3/de_DE/LC_MESSAGES
+test -d gt-3/fr_FR || mkdir gt-3/fr_FR
+test -d gt-3/fr_FR/LC_MESSAGES || mkdir gt-3/fr_FR/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o de_DE/LC_MESSAGES/tstlang.mo ${top_srcdir}/tests/gettext-3-1.po
-${MSGFMT} -o fr_FR/LC_MESSAGES/tstlang.mo ${top_srcdir}/tests/gettext-3-2.po
+${MSGFMT} -o gt-3/de_DE/LC_MESSAGES/tstlang.mo ${top_srcdir}/tests/gettext-3-1.po
+${MSGFMT} -o gt-3/fr_FR/LC_MESSAGES/tstlang.mo ${top_srcdir}/tests/gettext-3-2.po
tmpfiles="$tmpfiles gt-3.ok"
cat <<EOF > gt-3.ok