Race condition in intl tst-codeset.sh/tst-gettext3.sh tests

H.J. Lu hjl.tools@gmail.com
Fri Sep 16 19:09:00 GMT 2011


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.



More information about the Libc-alpha mailing list