]> git.ipfire.org Git - thirdparty/glibc.git/commit
shm tests: Append PID to names passed to shm_open [BZ #26737]
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Oct 2020 17:59:04 +0000 (10:59 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Oct 2020 20:51:15 +0000 (13:51 -0700)
commit9030377480effce89f382499ff47a22467112436
tree79cb870b23ce65572fceb699e9acd65db36fda7c
parent602da9de696099f543ee2bb3c1520bc178f42fc9
shm tests: Append PID to names passed to shm_open [BZ #26737]

Append PID to names passed to shm_open in shm tests to avoid random

FAIL: rt/tst-shm-cancel
FAIL: rt/tst-shm

due to the same name passed to shm_open and shm_unlink when more than
one "make check" running in parallel on the same machine.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
rt/tst-shm-cancel.c
rt/tst-shm.c