Command-line setup to reproduce regression tests?

Damien Miller djm at
Fri Feb 5 17:25:06 AEDT 2021

On Thu, 4 Feb 2021, Dmitry Belyavskiy wrote:

> Hello,
> I'm working on adding the support of Edwards PKCS#11 keys to openssh (WIP,
> To find out the missing codepaths, I need to reproduce the test scenarios
> from regress/ from the command line. Could anybody please
> give some hints which environment variables should be set for it?

If you just want to run the test directly then you can do something
like "make tests LTESTS=agent-pkcs11 SKIP_UNIT=1"

Otherwise, you can run the test and then reuse the generated files.
Something like this might work:

$ make tests LTESTS=agent-pkcs11 SKIP_UNIT=1
./ssh -F regress/ssh_proxy xx


More information about the openssh-unix-dev mailing list