[PATCH] Support running test/test_aslr.py without venv
Guilhem Moulin
guilhem at fripost.org
Sat Apr 2 07:32:52 AWST 2022
Hi Matt,
Congrats for the new release! :-) The compile-time tests are especially
welcome, even though unfortunately we can't enable them for Debian
packages since writing into ~/.ssh within build environments is
forbidden by Policy. But instead we can run the pytest command as an
autopkgtest with the adequate Restriction field.
Since these tests are self contained we can't use virtualenv, and
without it pytest fails due a shell parsing error similar to
$ ; echo nay
bash: syntax error near unexpected token `;'
The fix is trivial. Please consider applying
https://salsa.debian.org/debian/dropbear/-/blob/debian/latest/debian/patches/support-running-test_aslr-without-venv.patch
which I'm also attaching to this mail for convenience.
Thanks,
cheers
--
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: support-running-test_aslr-without-venv.patch
Type: text/x-diff
Size: 1034 bytes
Desc: not available
URL: <https://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20220402/a5d9ceea/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20220402/a5d9ceea/attachment.sig>
More information about the Dropbear
mailing list