summaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2015-08-20 15:24:28 -0700
committerHunter Haugen <hunter@puppetlabs.com>2015-08-20 15:24:28 -0700
commit965f657c48c1855422384dfc6cad5d64a82a5ab6 (patch)
treebd57e8ed81ee06942203eff6b02d8cfc20225de4 /spec/acceptance
parentdd4b638a420c75eb3a3a2badceffc720be231096 (diff)
downloadpuppet-vcsrepo-965f657c48c1855422384dfc6cad5d64a82a5ab6.tar.gz
puppet-vcsrepo-965f657c48c1855422384dfc6cad5d64a82a5ab6.tar.bz2
Fix acceptance hang
The ssh-keygen is waiting for a 'y' to confirm overwrite, and the test hangs.
Diffstat (limited to 'spec/acceptance')
-rw-r--r--spec/acceptance/modules_2326_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/modules_2326_spec.rb b/spec/acceptance/modules_2326_spec.rb
index d62dbb0..601c6ff 100644
--- a/spec/acceptance/modules_2326_spec.rb
+++ b/spec/acceptance/modules_2326_spec.rb
@@ -32,7 +32,7 @@ describe 'clones with special characters' do
# create ssh keys
shell('mkdir -p /home/testuser-ssh/.ssh')
- shell('ssh-keygen -q -t rsa -f /home/testuser-ssh/.ssh/id_rsa -N ""')
+ shell('echo -e \'y\n\'|ssh-keygen -q -t rsa -f /home/testuser-ssh/.ssh/id_rsa -N ""')
# copy public key to authorized_keys
shell('cat /home/testuser-ssh/.ssh/id_rsa.pub > /home/testuser-ssh/.ssh/authorized_keys')