Skip to content
Snippets Groups Projects
Commit c70a6d1b authored by Cleber Rosa's avatar Cleber Rosa Committed by Philippe Mathieu-Daudé
Browse files

tests/acceptance/virtiofs_submounts: do not ask for ssh key password


Tests are supposed to be non-interactive, and ssh-keygen is asking for
a passphrase when creating a key.  Let's set an empty passphrase to
avoid the prompt.

Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
Reviewed-by: default avatarBeraldo Leal <bleal@redhat.com>
Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Message-Id: <20210203172357.1422425-6-crosa@redhat.com>
[PMD: Reword description per Alex Bennée comment]
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
parent fef453ee
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@ def setUp(self):
self.ssh_key = os.path.join(self.workdir, 'id_ed25519')
self.run(('ssh-keygen', '-t', 'ed25519', '-f', self.ssh_key))
self.run(('ssh-keygen', '-N', '', '-t', 'ed25519', '-f', self.ssh_key))
pubkey = open(self.ssh_key + '.pub').read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment