Logo
Explore Help
Sign In
dasharo/systemd
0
0
Fork 0
You've already forked systemd
mirror of https://github.com/Dasharo/systemd.git synced 2026-03-06 15:02:31 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
systemd/test/test-execute/exec-workingdirectory-trailing-dot.service

9 lines
257 B
SYSTEMD
Raw Permalink Normal View History

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 18:07:22 +02:00
# SPDX-License-Identifier: LGPL-2.1-or-later
test: add test for trailing dot in WorkingDirectory= and RuntimeDirectory=
2018-05-31 23:59:30 +09:00
[Unit]
Description=Test for WorkingDirectory with trailing dot
[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 15:24:52 +01:00
ExecStart=sh -x -c 'test "$$PWD" = "/tmp/test-exec_workingdirectory"'
test: add test for trailing dot in WorkingDirectory= and RuntimeDirectory=
2018-05-31 23:59:30 +09:00
Type=oneshot
WorkingDirectory=/tmp///./test-exec_workingdirectory/.
Reference in New Issue Copy Permalink
Powered by Gitea Page: 525ms Template: 4ms
English
English
Licenses API