]> git.ipfire.org Git - thirdparty/libbsd.git/commit
test: Fix race condition in headers-*.sh
authorLukas Fleischer <lfleischer@lfos.de>
Thu, 7 Jan 2016 16:26:12 +0000 (17:26 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sun, 10 Jan 2016 16:36:34 +0000 (17:36 +0100)
commitbf5573f86ca0b042b3f56d4c65913d5825c82ffe
tree12e7471a09d26f04d5c78f140a99ae875d6d3d68
parent229f85794f9031fe724562dce7e70feedb05788d
test: Fix race condition in headers-*.sh

When running tests in parallel (e.g. using `make -j4 check`), the header
tests currently fail due to headers-overlay.sh and headers-system.sh
both generating headers-gen.c simultaneously, resulting in garbled
output. Fix this by using separate C files for the tests.

Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
test/headers-overlay.sh
test/headers-system.sh