test: replace symlinks with actual unit files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Mar 2020 15:12:12 +0000 (16:12 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 22 Mar 2020 09:22:42 +0000 (10:22 +0100)
commitf55198f03430318ab0e9162d8e2ce563c7ee7225
tree8673c66d4f9daee2aacf7291ec8e287f6219a150
parent7b4329534688612dce829afb5088298e734f5086
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).
16 files changed:
test/test-path/basic.target [changed from symlink to file mode: 0644]
test/test-path/path-changed.service [changed from symlink to file mode: 0644]
test/test-path/path-directorynotempty.service [changed from symlink to file mode: 0644]
test/test-path/path-exists.service [changed from symlink to file mode: 0644]
test/test-path/path-existsglob.service [changed from symlink to file mode: 0644]
test/test-path/path-makedirectory.service [changed from symlink to file mode: 0644]
test/test-path/path-modified.service [changed from symlink to file mode: 0644]
test/test-path/paths.target [changed from symlink to file mode: 0644]
test/test-path/sysinit.target [changed from symlink to file mode: 0644]
test/units/basic.target [changed from symlink to file mode: 0644]
test/units/loopy2.service [changed from symlink to file mode: 0644]
test/units/loopy4.service [changed from symlink to file mode: 0644]
test/units/shutdown.target [changed from symlink to file mode: 0644]
test/units/sockets.target [changed from symlink to file mode: 0644]
test/units/sysinit.target [changed from symlink to file mode: 0644]
test/units/timers.target [changed from symlink to file mode: 0644]