summaryrefslogtreecommitdiffstats
path: root/tests/plural-1-prg.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-01-07 17:50:01 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 00:36:25 +0200
commit47340af0f07f3a5e66c1654b16acbb5bf64435cb (patch)
treed75cb33c6bc5eb8306ff095d1d6c6e8b785eb858 /tests/plural-1-prg.c
parentbe5b827f950d23b08cea480b22283b351b466acf (diff)
downloadexternal_gettext-47340af0f07f3a5e66c1654b16acbb5bf64435cb.zip
external_gettext-47340af0f07f3a5e66c1654b16acbb5bf64435cb.tar.gz
external_gettext-47340af0f07f3a5e66c1654b16acbb5bf64435cb.tar.bz2
Change the tests to be less verbose on Solaris and HP-UX.
Diffstat (limited to 'tests/plural-1-prg.c')
-rw-r--r--tests/plural-1-prg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plural-1-prg.c b/tests/plural-1-prg.c
index e7bc501..9642c17 100644
--- a/tests/plural-1-prg.c
+++ b/tests/plural-1-prg.c
@@ -19,9 +19,9 @@ int main (argc, argv)
int argc;
char *argv[];
{
- int n = atoi (argv[1]);
+ int n = atoi (argv[2]);
- if (setlocale (LC_ALL, "") == NULL)
+ if (setlocale (LC_ALL, argv[1]) == NULL)
return 1;
textdomain ("cake");