Let the mandoc.db(5) test suite work with parallel make (make -j),
authorschwarze <schwarze@openbsd.org>
Sun, 18 Jul 2021 11:25:47 +0000 (11:25 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 18 Jul 2021 11:25:47 +0000 (11:25 +0000)
commit7dc8df11d45673c7ba18477a1132a256e95157ef
treeca700c863867f5e5b219ad221f3ea31a58bb780c
parentaad882fe7767949765e838665f5300a783b87fec
Let the mandoc.db(5) test suite work with parallel make (make -j),
by making sure that different tests use different directory names
for their work such that they do not collide.
As a side benefit, this allows keeping the complete working directories
of the tests until "make cleandir" is run, which may occasionally
help debugging when something breaks.

The failure with make -j was detected and reported by anton@,
who also reviewed, tested, and OK'ed this somewhat lengthy patch.
regress/usr.bin/mandoc/db/makeinodes/makeinodes.1
regress/usr.bin/mandoc/db/makeinodes/makeinodes.c
regress/usr.bin/mandoc/db/out/all.merr
regress/usr.bin/mandoc/db/out/all.mout
regress/usr.bin/mandoc/db/run/Makefile