Skip to content
Snippets Groups Projects
Commit 50655059 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix ssh test

parent 569f360d
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,8 @@ import imp
os.chdir(os.path.dirname(__file__))
def test_ssh(server):
return subprocess.getstatus('ssh %s ls /tmp' % server) == 0
status, out = subprocess.getstatusoutput('ssh %s ls /tmp' % server)
return status == 0
def test_last_backup_is_recent(server, client):
path = '/backup/%s/current' % client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment