summaryrefslogtreecommitdiff
path: root/test/TEST-18-FAILUREACTION/test.sh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-30 17:55:37 +0200
committerGitHub <noreply@github.com>2019-07-30 17:55:37 +0200
commit5756bff6f17d3849e1c3e52e40edec3b5201fe68 (patch)
tree1ae9a6d923d299eda2589f879cd72fba98c9ea76 /test/TEST-18-FAILUREACTION/test.sh
parent4860f5c2aedfbbbb581d7f95ccb192ba089893d4 (diff)
parent802765438ff7491a9452a4fd4fb68bb0597539c5 (diff)
downloadsystemd-5756bff6f17d3849e1c3e52e40edec3b5201fe68.tar.gz
Merge pull request #13119 from keszybz/unit-loading-2
Rework unit loading to take into account all aliases
Diffstat (limited to 'test/TEST-18-FAILUREACTION/test.sh')
-rwxr-xr-xtest/TEST-18-FAILUREACTION/test.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/TEST-18-FAILUREACTION/test.sh b/test/TEST-18-FAILUREACTION/test.sh
index 1ef43a4e7b..5c9ca9e427 100755
--- a/test/TEST-18-FAILUREACTION/test.sh
+++ b/test/TEST-18-FAILUREACTION/test.sh
@@ -32,11 +32,11 @@ EOF
setup_nspawn_root
# mask some services that we do not want to run in these tests
- ln -s /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
- ln -s /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
- ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.service
- ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
- ln -s /dev/null $initdir/etc/systemd/system/systemd-resolved.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-networkd.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-resolved.service
}
do_test "$@"