Fix end-to-end test broken by change in source directory examples.

This commit is contained in:
Dan Helfman 2021-04-18 17:54:54 -07:00
parent 9016f4be43
commit d6e376d32d

View file

@ -20,6 +20,7 @@ def generate_configuration(config_path, repository_path):
.read() .read()
.replace('user@backupserver:sourcehostname.borg', repository_path) .replace('user@backupserver:sourcehostname.borg', repository_path)
.replace('- user@backupserver:{fqdn}', '') .replace('- user@backupserver:{fqdn}', '')
.replace('- /home/user/path with spaces', '')
.replace('- /home', '- {}'.format(config_path)) .replace('- /home', '- {}'.format(config_path))
.replace('- /etc', '') .replace('- /etc', '')
.replace('- /var/log/syslog*', '') .replace('- /var/log/syslog*', '')