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

pull/9404/head
Toshio Kuratomi 10 years ago
parent 76a43d4b38
commit 56c268ade4

@ -2,6 +2,6 @@
Description=Ansible Test Service
[Service]
ExecStart=/usr/sbin/ansible_test_service
ExecStart=/usr/sbin/ansible_test_service "Test\nthat newlines in scripts\nwork"
ExecReload=/bin/true
Type=forking

@ -12,7 +12,7 @@
- "install_systemd_result.dest == '/usr/lib/systemd/system/ansible_test.service'"
- "install_systemd_result.state == 'file'"
- "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.state == 'link'"

Loading…
Cancel
Save