atf.test: fix installation of python test scripts
authorKristof Provost <kp@FreeBSD.org>
Tue, 19 Dec 2023 13:15:48 +0000 (14:15 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 19 Dec 2023 16:23:54 +0000 (17:23 +0100)
commitec6682ed6c1d7304521bad39a1ad7ceae76aaca3
tree562cf824c594306224d85b0674c09f2728605747
parent636592343c3ec0feb61a4d8043676381384420dd
atf.test: fix installation of python test scripts

Python test scripts get processed (to add the `#! /usr/libexec/
atf_pytest_wrapper` shebang line), into a .xtmp file, and installed from
there. However, as there was no dependency of this .xtmp file on the
original file we kept reinstalling the .xtmp file, even if the original
had been edited already.

This could cause great confusion when debugging python test scripts.

Reviewed by: markj
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D43118
share/mk/atf.test.mk