############################################################
if install_tests
- foreach script : ['integration-test-setup.sh', 'run-unit-tests.py']
- install_data(script,
- install_mode : 'rwxr-xr-x',
- install_dir : testsdir)
- endforeach
+ install_data('run-unit-tests.py',
+ install_mode : 'rwxr-xr-x',
+ install_dir : testsdir)
+
+ install_data('integration-test-setup.sh',
+ install_mode : 'rwxr-xr-x',
+ install_dir : testdata_dir)
endif
############################################################
[Service]
ExecStartPre=rm -f /failed /testok
-ExecStartPre=/usr/lib/systemd/tests/integration-test-setup.sh setup
+ExecStartPre=/usr/lib/systemd/tests/testdata/integration-test-setup.sh setup
ExecStart=@command@
-ExecStopPost=/usr/lib/systemd/tests/integration-test-setup.sh finalize
+ExecStopPost=/usr/lib/systemd/tests/testdata/integration-test-setup.sh finalize
Type=oneshot
MemoryAccounting=@memory-accounting@
StateDirectory=%N