commit:     8c2d770ba0fc714a20c937b3b9fb7e732665e86d
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 23 16:52:35 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Mar 23 16:52:35 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=8c2d770b

qcheck: don't require ownership to be preserved by cp

ownership isn't really an issue here, so don't fail on it

 tests/qcheck/dotest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qcheck/dotest b/tests/qcheck/dotest
index d7c337b..fa1feed 100755
--- a/tests/qcheck/dotest
+++ b/tests/qcheck/dotest
@@ -54,7 +54,7 @@ test 08 1 "qcheck -v a-b/pkg"
 
 # update check
 (
-cp -a "${ROOT}" mod
+cp -PR --preserve=mode,timestamps "${ROOT}" mod
 ROOT=${PWD}/mod
 test 09 0 "qcheck -u a-b/pkg && qcheck a-b/pkg"
 )

Reply via email to