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

add -y for ssh test

parent f36e8ce9
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ def test_ssh(server):
def test_last_backup_is_recent(server, client):
path = '/backup/%s/current' % client
cmd = 'ssh %s ls -l %s | grep current' % (server, path)
cmd = 'ssh -y %s ls -l %s | grep current' % (server, path)
status, out = subprocess.getstatusoutput(cmd)
if status == 0:
date = out.strip().split(' ')[-2]
......
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