diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/gvfs-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gvfs-test b/test/gvfs-test index 73b4e2fb..2c37deeb 100755 --- a/test/gvfs-test +++ b/test/gvfs-test @@ -52,7 +52,6 @@ except (ValueError, ImportError): # umockdev environment for gphoto/MTP tests umockdev_testbed = None -twistd_path = shutil.which('twistd') smbd_path = shutil.which('smbd') def find_alternative(cmds): @@ -67,6 +66,7 @@ samba_running = subprocess.call(['pidof', 'smbd'], stdout=subprocess.PIPE) == 0 httpd_cmd = find_alternative(['apache2', 'httpd', 'apachectl']) have_httpd = httpd_cmd is not None sshd_path = shutil.which('sshd') +twistd_path = find_alternative(['twistd-3', 'twistd3']) local_ip = subprocess.check_output("ip -4 addr | sed -nr '/127\.0\.0/ n; " "/inet / { s/^.*inet ([0-9.]+).*$/\\1/; p; q }'" |