summaryrefslogtreecommitdiff
path: root/test/integration/common.rb
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2021-08-05 12:25:20 +0200
committerMiklós Fazekas <mfazekas@szemafor.com>2021-08-05 12:25:20 +0200
commit5bb3618cbfb56521d51c4bc6cec104d6ccd12bfc (patch)
tree8878b43b1708d32f636c01b51ef945e4e2b808cb /test/integration/common.rb
parentafd91b19bf2bc5a04b5b6267e1d3bcfef08f4025 (diff)
downloadnet-ssh-5bb3618cbfb56521d51c4bc6cec104d6ccd12bfc.tar.gz
Fix start_sshd_7_or_later config lines
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