Make the mandoc.db(5) tests work with BSDOBJDIR set,
authorschwarze <schwarze@openbsd.org>
Sat, 17 Jul 2021 14:23:02 +0000 (14:23 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 17 Jul 2021 14:23:02 +0000 (14:23 +0000)
commit9a3b73f1e1a6d53a69ba19d40912515a56eb8915
tree6c0a2fb04e60870b7ac77600f3b5a0e642b2eeec
parent206308cccca68d659f49b756cddf62c790f4bbef
Make the mandoc.db(5) tests work with BSDOBJDIR set,
by stripping initial parts of paths the do not matter
for the features being tested from man(1) output.

Problem found and reported by, solution developed together with, and
OK anton@
regress/usr.bin/mandoc/db/out/all.merr
regress/usr.bin/mandoc/db/out/all.mout
regress/usr.bin/mandoc/db/run/Makefile