From: Ulrich Drepper Date: Tue, 16 Jul 2002 23:58:54 +0000 (+0000) Subject: Don't expect results for untranslated messages. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20594bbaca75a04fb2e1f1898b78efcd396043c2;p=thirdparty%2Fglibc.git Don't expect results for untranslated messages. --- diff --git a/catgets/tst-catgets.c b/catgets/tst-catgets.c index 20e27382324..249e89f7e07 100644 --- a/catgets/tst-catgets.c +++ b/catgets/tst-catgets.c @@ -41,14 +41,14 @@ main (void) char *trans; trans = catgets (cd, 1, 1 + cnt, - "+#+# is this comes backs it's an error"); + "+#+# if this comes backs it's an error"); if (trans == NULL) { printf ("catgets return NULL for %d\n", cnt); result = 1; } - else if (strcmp (trans, msgs[cnt]) != 0) + else if (strcmp (trans, msgs[cnt]) != 0 && msgs[cnt][0] != '\0') { printf ("expected \"%s\", got \"%s\"\n", msgs[cnt], trans); result = 1;