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

This commit is contained in:
Toshio Kuratomi 2014-10-22 16:36:54 -04:00
parent 76a43d4b38
commit 56c268ade4
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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'"