From: Frantisek Sumsal Date: Mon, 12 Jun 2023 11:21:11 +0000 (+0200) Subject: test: copy file xattrs (if any) as well X-Git-Tag: v254-rc1~220^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6695a431fec4291c956bbbecda19c468ccccb1d;p=thirdparty%2Fsystemd.git test: copy file xattrs (if any) as well --- diff --git a/test/test-functions b/test/test-functions index 8baf16d3355..0c20e60ad3d 100644 --- a/test/test-functions +++ b/test/test-functions @@ -2590,7 +2590,7 @@ inst_simple() { inst "${src%/*}/.${src##*/}.hmac" "${target%/*}/.${target##*/}.hmac" fi ddebug "Installing $src" - cp --sparse=always -pfL "$src" "${initdir}/$target" + cp --sparse=always --force --dereference --preserve=all "$src" "${initdir}/$target" } # find symlinks linked to given library file