summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2018-03-05 19:02:25 +0100
committerFranck Bui <fbui@suse.com>2018-03-05 19:24:23 +0100
commitcaced73270d2e85ff7608b39a977a9c6d92a77df (patch)
tree939456c6ac5cbc25e8bc36a591d86bc2a7fbbbd0
parenttmpfiles: don't resolve pathnames when traversing recursively through directory trees (diff)
downloadsystemd-caced73270d2e85ff7608b39a977a9c6d92a77df.tar.xz
systemd-caced73270d2e85ff7608b39a977a9c6d92a77df.zip
test: fix setup_suse() to make it work with an already populated root
-rw-r--r--test/test-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-functions b/test/test-functions
index 2ece55414a9..17e83ccf3ff 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -1383,8 +1383,8 @@ inst_libdir_file() {
}
setup_suse() {
- ln -s ../usr/bin/systemctl $initdir/bin/systemctl
- ln -s ../usr/lib/systemd $initdir/lib/systemd
+ ln -fs ../usr/bin/systemctl $initdir/bin/
+ ln -fs ../usr/lib/systemd $initdir/lib/
inst_simple "/usr/lib/systemd/system/haveged.service"
}