From: Franck Bui Date: Mon, 5 Mar 2018 18:02:25 +0000 (+0100) Subject: test: fix setup_suse() to make it work with an already populated root X-Git-Tag: v238~1^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=caced73270d2e85ff7608b39a977a9c6d92a77df;p=thirdparty%2Fsystemd.git test: fix setup_suse() to make it work with an already populated root --- 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" }