tst-gettext2: Better tests

Ulrich Drepper drepper@redhat.com
Wed Nov 15 15:19:00 GMT 2000


Andreas Jaeger <aj@suse.de> writes:

> The output from tst-gettext2 doesn't look right, I've created a file
> with the expected output.  What do you think of this?  Shall I commit
> it?

I know what's wrong (should have looked right away).  You are creating
the locale directories but don't populate them.  The patch which went
in along with this test made the domain selecting dependent on the
selected locale.  But if there is no locale data you cannot select the
locale.

The tst-gettext2.sh script must generate (or better: copy) locale data
for the lang1 and lang2 domains.  And LOCPATH must be set to
${objpfx}domaindir and not ${common_objpfx}localedata.

I'll be checking in patches shortly.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list