This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Race condition in intl tst-codeset.sh/tst-gettext3.sh tests
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 16 Sep 2011 11:14:50 -0700
- Subject: Race condition in intl tst-codeset.sh/tst-gettext3.sh tests
We have
tst-codeset.sh:mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
tst-codeset.sh:mv -f ${objpfx}codeset.mo.$$
${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo
tst-gettext3.sh:mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
tst-gettext3.sh:mv -f ${objpfx}codeset.mo.$$
${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo
Both tst-codeset.sh and tst-gettext3.sh try to update the same file. They
may fail at random with "make check -j 8" on a 8core machine.
--
H.J.