Hi Christian, On Mon, 29 Aug 2022 10:10:37 +0000 [email protected] wrote: > On Sun, 15 Sep 2019 15:16:25 +0100 Jonathan Wiltshire <[email protected]> wrote: > > In 1.2 upstream added a test suite. We should run it during build > > (cd common && $(MAKE) test) but it needs to be able to write to the > > home > > directory, which is disabled on Debian auto-builders. Need to find > > a solution to that. > > I would like to suggest to save time and resources and not fixing that > Issue.
Wouldn't a simple solution be creating a temporary home directory and directing the tests there? From a quick look at the code, it seems os.path.expanduser is used to determine the home directory, and according to the Python docs[1], "an initial ~ is replaced by the environment variable HOME if it is set". Kind regards, -- Maytham Alsudany Debian Maintainer maytham @ OFTC maytha8 @ Libera [1]: https://docs.python.org/3/library/os.path.html#os.path.expanduser
signature.asc
Description: This is a digitally signed message part

