Hi,

This patch fixes a race in libstdc++ testsuite.  When we split libstdc++'s 
testsuite into several parallel instances, it may occur that testing for 
features (check_v3_target_fileio in this case) is done in two sub-processes at 
the same time.  The race occurs on the cin_unget-1.txt data file, with one 
thread overwriting the file that was created by another thread.

The fix is to use unique name cin_unget-1-[pid].txt for the data file.

Tested on x86_64-linux-gnu.

OK to apply?

--
Maxim Kuvyrkov
www.linaro.org


Attachment: 0001-Fix-race-in-libstdc-testsuite.ChangeLog
Description: Binary data

Attachment: 0001-Fix-race-in-libstdc-testsuite.patch
Description: Binary data

Reply via email to