summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-09-01 20:07:22 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:56 +0200
commit45ce5f9f431cdfe70fef6914f2deeb1d507ee5a6 (patch)
tree5acc427b5ee7fa00979fb15940d27f0a0bd12c45
parent94378d65c9b76978eb1fd0a08564a0a4c2a341fb (diff)
downloadexternal_gettext-45ce5f9f431cdfe70fef6914f2deeb1d507ee5a6.zip
external_gettext-45ce5f9f431cdfe70fef6914f2deeb1d507ee5a6.tar.gz
external_gettext-45ce5f9f431cdfe70fef6914f2deeb1d507ee5a6.tar.bz2
Tweak.
-rw-r--r--gettext-tools/tests/ChangeLog6
-rwxr-xr-xgettext-tools/tests/lang-perl-12
-rwxr-xr-xgettext-tools/tests/xgettext-262
3 files changed, 8 insertions, 2 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog
index aff5985..fd5b53d 100644
--- a/gettext-tools/tests/ChangeLog
+++ b/gettext-tools/tests/ChangeLog
@@ -1,5 +1,11 @@
2003-09-01 Bruno Haible <bruno@clisp.org>
+ * xgettext-26: Add explicit symbol import to 'use' command.
+ * lang-perl-1: Likewise.
+ Suggested by Guido Flohr.
+
+2003-09-01 Bruno Haible <bruno@clisp.org>
+
* xgettext-29: New test, from Guido Flohr.
* Makefile.am (TESTS): Add it.
diff --git a/gettext-tools/tests/lang-perl-1 b/gettext-tools/tests/lang-perl-1
index 7612d84..12cb94a 100755
--- a/gettext-tools/tests/lang-perl-1
+++ b/gettext-tools/tests/lang-perl-1
@@ -10,7 +10,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles program.pl"
cat <<\EOF > program.pl
-use Locale::Messages;
+use Locale::Messages qw (textdomain bindtextdomain ngettext);
textdomain "prog";
bindtextdomain "prog", "./";
my $n = 2;
diff --git a/gettext-tools/tests/xgettext-26 b/gettext-tools/tests/xgettext-26
index 7c521a9..9b974fc 100755
--- a/gettext-tools/tests/xgettext-26
+++ b/gettext-tools/tests/xgettext-26
@@ -7,7 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles xg-test26.pl"
cat <<\EOF > xg-test26.pl
-use Locale::Messages;
+use Locale::Messages qw (textdomain bindtextdomain gettext ngettext dngettext);
textdomain "prog";
bindtextdomain "prog", "./";