summaryrefslogtreecommitdiffstats
path: root/test/TEST-16-EXTEND-TIMEOUT/test.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-30 09:33:58 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-30 13:27:06 +0200
commit976ed3b621034a061940c3f74cb24a236adf01cf (patch)
tree8e20920c135da6c199fd4d04a312ea6ee91c481b /test/TEST-16-EXTEND-TIMEOUT/test.sh
parentshared/install: typo (diff)
downloadsystemd-976ed3b621034a061940c3f74cb24a236adf01cf.tar.xz
systemd-976ed3b621034a061940c3f74cb24a236adf01cf.zip
test: use "ln -fs"
Without this, repeated runs of "make -C TEST/... setup" fail when trying to create the symlink.
Diffstat (limited to 'test/TEST-16-EXTEND-TIMEOUT/test.sh')
-rwxr-xr-xtest/TEST-16-EXTEND-TIMEOUT/test.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/TEST-16-EXTEND-TIMEOUT/test.sh b/test/TEST-16-EXTEND-TIMEOUT/test.sh
index 016a877b96..e128dc7969 100755
--- a/test/TEST-16-EXTEND-TIMEOUT/test.sh
+++ b/test/TEST-16-EXTEND-TIMEOUT/test.sh
@@ -30,11 +30,11 @@ test_setup() {
setup_testsuite
)
# 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
setup_nspawn_root
}