summaryrefslogtreecommitdiff
path: root/test/integration/common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/common.rb')
-rw-r--r--test/integration/common.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/common.rb b/test/integration/common.rb
index 791106d..0f79c68 100644
--- a/test/integration/common.rb
+++ b/test/integration/common.rb
@@ -122,7 +122,7 @@ module IntegrationTestHelpers
yield pid, port
end
else
- with_lines_as_tempfile('') do |path, pidpath|
+ with_lines_as_tempfile(['']) do |path, pidpath|
pid = spawn('sudo', '/opt/net-ssh-openssh/sbin/sshd', '-D', '-f', path, '-p', port)
sshpidfile = pidpath
yield pid, port