aboutsummaryrefslogtreecommitdiff
path: root/catgets/tst-catgets.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-17 00:03:55 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-17 00:03:55 +0000
commitd747a0a564d522ab31944eac60e923e4596b3684 (patch)
tree35aa88c9510ae281b8d704e4e3b142f697422bd1 /catgets/tst-catgets.c
parent547a7a8e54ba925e7721c71b673f7993e9fb518f (diff)
downloadglibc-d747a0a564d522ab31944eac60e923e4596b3684.zip
glibc-d747a0a564d522ab31944eac60e923e4596b3684.tar.gz
glibc-d747a0a564d522ab31944eac60e923e4596b3684.tar.bz2
Update.
* catgets/tst-catgets.c (main): Don't expect results for untranslated messages. * math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH. (CPPFLAGS-test-idouble.c): Likewise. (CPPFLAGS-test-ildouble.c): Likewise.
Diffstat (limited to 'catgets/tst-catgets.c')
-rw-r--r--catgets/tst-catgets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/catgets/tst-catgets.c b/catgets/tst-catgets.c
index 20e2738..249e89f 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;