This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tst-gettext2: Better tests


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]