Skip Menu |

This queue is for tickets about the Net-OpenSSH CPAN distribution.

Report information
The Basics
Id: 87803
Status: resolved
Priority: 0/
Queue: Net-OpenSSH

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Undocumented how to get the tests running without password
It seems to me that the only way to get 'make test' run uninteractively is to add the test user's public key to the test user's authorized_keys. The question is, whether there is there a better way? Something that acts like a one-time-pad? And it would be helpful if this would be documented, maybe in the readme or in the test script itself. So far I have never tested Net::OpenSSH because of the password prompt. For now I've now opened the backdoor, but I'd much prefer a solution with less side effects. Regards,
On Tue Aug 13 00:18:08 2013, ANDK wrote: Show quoted text
> It seems to me that the only way to get 'make test' run > uninteractively is to add the test user's public key to the test > user's authorized_keys. The question is, whether there is there a > better way? Something that acts like a one-time-pad? > > And it would be helpful if this would be documented, maybe in the > readme or in the test script itself. > > So far I have never tested Net::OpenSSH because of the password > prompt. For now I've now opened the backdoor, but I'd much prefer a > solution with less side effects.
The tests have a timeout. If the connection is not established (and that usually means the user entering the password) in 15 seconds they are entirely skipped. Isn't that timeout working for you?