From a6695a431fec4291c956bbbecda19c468ccccb1d Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Mon, 12 Jun 2023 13:21:11 +0200 Subject: [PATCH] test: copy file xattrs (if any) as well --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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