Merge "borg testing: catch stdout and stderr from test prune correctly"
This commit is contained in:
commit
7da2eeb05f
@ -94,5 +94,5 @@ def test_borg_server_prune(host):
|
||||
if hostname.startswith('borg-backup-test'):
|
||||
pytest.skip()
|
||||
|
||||
cmd = host.run('echo "prune" | /usr/local/bin/prune-borg-backups 2>&1 > /var/log/prune-borg-backups.log')
|
||||
cmd = host.run('echo "prune" | /usr/local/bin/prune-borg-backups &> /var/log/prune-borg-backups.log')
|
||||
assert cmd.succeeded
|
||||
|
Loading…
Reference in New Issue
Block a user