[gvfs] gvfs-test: Add more sftp-server search paths



commit 91b33572407ccb7d808e1df775c89d1612355f80
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Thu Jan 24 16:03:33 2013 +0100

    gvfs-test: Add more sftp-server search paths
    
    Gentoo puts sftp-server binary in /usr/lib64/misc/, let's add it
    in the list of paths to search.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691568

 test/gvfs-test |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index f22a5aa..45999a7 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -414,7 +414,8 @@ class Sftp(GvfsTestCase):
         for dir in ['/usr/local/lib/openssh',
                     '/usr/lib/openssh',
                     '/usr/local/libexec/openssh',
-                    '/usr/libexec/openssh']:
+                    '/usr/libexec/openssh',
+                    '/usr/lib/misc', '/usr/lib64/misc']:
             sftp_server = os.path.join(dir, 'sftp-server')
             if os.path.exists(sftp_server):
                 break



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]