Commit 56c268ad by Toshio Kuratomi

New test that newlines in systemd service scripts don't cause problems

parent 76a43d4b
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
Description=Ansible Test Service Description=Ansible Test Service
[Service] [Service]
ExecStart=/usr/sbin/ansible_test_service ExecStart=/usr/sbin/ansible_test_service "Test\nthat newlines in scripts\nwork"
ExecReload=/bin/true ExecReload=/bin/true
Type=forking Type=forking
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- "install_systemd_result.dest == '/usr/lib/systemd/system/ansible_test.service'" - "install_systemd_result.dest == '/usr/lib/systemd/system/ansible_test.service'"
- "install_systemd_result.state == 'file'" - "install_systemd_result.state == 'file'"
- "install_systemd_result.mode == '0644'" - "install_systemd_result.mode == '0644'"
- "install_systemd_result.md5sum == 'f634df77d9160ab05bad4ed49d82a0d0'" - "install_systemd_result.md5sum == '6be64a1e44e9e72a467e70a0b562444f'"
- "install_broken_systemd_result.dest == '/usr/lib/systemd/system/ansible_test_broken.service'" - "install_broken_systemd_result.dest == '/usr/lib/systemd/system/ansible_test_broken.service'"
- "install_broken_systemd_result.state == 'link'" - "install_broken_systemd_result.state == 'link'"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment