Subject: | sftp-server location on Fedora |
The tests cannot find sftp-server on Fedora Linux distribution, thus some of them are skipped. Attached patch adds the missing path, so that all tests are exhibited on the Fedora.
Subject: | Net-SFTP-Foreign-1.86-Search-sftp-server-in-usr-libexec-openssh.patch |
From 1b12ee0fd9e7fc34ceefa4d5dd8186552ef7dd32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Thu, 20 Oct 2016 16:28:58 +0200
Subject: [PATCH] Search sftp-server in /usr/libexec/openssh
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fedora Linux distribution places sftp-server into /usr/libexec/openssh
directory. This allows tests to find it.
Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com>
---
t/common.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/t/common.pm b/t/common.pm
index ff50f5f..74f20a9 100644
--- a/t/common.pm
+++ b/t/common.pm
@@ -62,6 +62,7 @@ sub sftp_server {
File::Spec->catfile($up, 'lib', $ssname),
File::Spec->catfile($up, 'lib64', $ssname),
File::Spec->catfile($up, 'libexec', $ssname),
+ File::Spec->catfile($up, 'libexec', 'openssh', $ssname),
File::Spec->catfile($up, 'sbin', $ssname),
File::Spec->catfile($up, 'lib', 'openssh', $ssname),
File::Spec->catfile($up, 'lib64', 'openssh', $ssname),
--
2.7.4