summaryrefslogtreecommitdiffstats
path: root/test/test-path/paths.target
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-20 16:12:12 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-22 10:22:42 +0100
commitf55198f03430318ab0e9162d8e2ce563c7ee7225 (patch)
tree8673c66d4f9daee2aacf7291ec8e287f6219a150 /test/test-path/paths.target
parenttests: move unit files to units/ subdirectory (diff)
downloadsystemd-f55198f03430318ab0e9162d8e2ce563c7ee7225.tar.xz
systemd-f55198f03430318ab0e9162d8e2ce563c7ee7225.zip
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).
Diffstat (limited to 'test/test-path/paths.target')
-rw-r--r--[l---------]test/test-path/paths.target13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/test-path/paths.target b/test/test-path/paths.target
index b402796cb9..9b6ed1c13f 120000..100644
--- a/test/test-path/paths.target
+++ b/test/test-path/paths.target
@@ -1 +1,12 @@
-../../units/paths.target \ No newline at end of file
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Paths
+Documentation=man:systemd.special(7)