Page MenuHomeFreeBSD

atf.test: fix installation of python test scripts
ClosedPublic

Authored by kp on Dec 19 2023, 1:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 24, 8:42 PM
Unknown Object (File)
Sat, Jul 18, 4:13 PM
Unknown Object (File)
Sun, Jul 12, 2:12 AM
Unknown Object (File)
Sat, Jul 11, 5:48 AM
Unknown Object (File)
May 26 2026, 3:53 AM
Unknown Object (File)
May 25 2026, 4:04 AM
Unknown Object (File)
May 24 2026, 6:04 PM
Unknown Object (File)
May 21 2026, 8:48 AM

Details

Summary

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.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable