This website requires JavaScript.
Explore
Help
Sign In
system
/
systemd
Watch
1
Star
0
Fork
You've already forked systemd
0
mirror of
https://github.com/systemd/systemd
synced
2024-07-22 10:44:58 +00:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
b9c5d812d5
systemd
/
test
/
units
/
loopy2.service
4 lines
70 B
SYSTEMD
Raw
Normal View
History
Unescape
Escape
tests: add spdx license header to test unit/link/network/conf files Those are all consumed by our parser, so they all support comments. I was considering whether they should have a license header at all, but in the end I decided to add it because those files are often created by copying parts of real unit files. And if the real ones have a license, then those might as well. It's easier to add it than to make an exception.
2021-10-17 16:07:22 +00:00
# SPDX-License-Identifier: LGPL-2.1-or-later
test: replace symlinks with actual unit files During installation, meson complains: > Installing /home/zbyszek/src/systemd-work/test/units/sysinit.target to /var/tmp/systemd-test.Q1FSuj/root/usr/lib/systemd/tests/testdata/units > Warning: trying to copy a symlink that points to a file. This will copy the file, > but this will be changed in a future version of Meson to copy the symlink as is. Please update your > build definitions so that it will not break when the change happens. It *is* convenient to have those files as symlinks, but it is also confusing, because symlinks create aliases, and it seems that in those cases we actually don't want aliases (at least in the case of loopy*.service that'd make the test pointless).
2020-03-20 15:12:12 +00:00
[Service]
tests: use relative paths in ExecStart= and friends We want to retain *some* of the full paths in order to test more code paths. But the default should be to use the command name only. This makes the tests less visually cluttered.
2024-01-04 14:24:52 +00:00
ExecStart
=
true
Reference in a new issue
Copy permalink