Skip to content
Snippets Groups Projects
Commit bd8649c6 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Add test for rsync startup options

parent 02bfe525
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -21,3 +21,8 @@ def test_eee_local_directories(host): ...@@ -21,3 +21,8 @@ def test_eee_local_directories(host):
'rsync-startup.service']) 'rsync-startup.service'])
def test_service_is_enabled(host, service): def test_service_is_enabled(host, service):
host.service(service).is_enabled host.service(service).is_enabled
def test_rsync_options(host):
rsync_startup = host.file('/etc/systemd/system/rsync-startup.service')
assert 'rsync -v --delete --recursive --links --perms --times --timeout 120' in rsync_startup.content_string
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