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)
Sat, Sep 28, 1:14 PM
Unknown Object (File)
Fri, Sep 27, 11:17 PM
Unknown Object (File)
Thu, Sep 26, 10:54 PM
Unknown Object (File)
Thu, Sep 26, 8:33 AM
Unknown Object (File)
Tue, Sep 24, 5:42 AM
Unknown Object (File)
Mon, Sep 23, 8:22 PM
Unknown Object (File)
Thu, Sep 19, 1:09 PM
Unknown Object (File)
Wed, Sep 11, 1:08 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