summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-13 00:42:26 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-13 00:43:16 +0100
commit0992cbebeb1bcf1dbda34a03917e25ba75fad046 (patch)
treea5f0d95e61c46f442604b4ccc3ec1a992ee8cff8 /tests
parente2fa683e96e51f173b17b91f77affa1f7c310867 (diff)
test suite: Do not save non-world-readable artifactsdebian/5.9+exp2archive/debian/5.9+exp2
Save things to $AUTOPKGTEST_ARTIFACTS without preserving access control information. Works around #903680. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index 87dd376..1ddfcea 100644
--- a/tests/lib
+++ b/tests/lib
@@ -420,7 +420,7 @@ t-save-artifacts () {
if [ x"$artifacts" = x ]; then return; fi
if [ x"tmp" = x ]; then return; fi
: '(((((((((( t-save-artifacts ))))))))))'
- cp -a "$tmp"/. "$artifacts"/.
+ cp -dR --preserve=links,timestamps "$tmp"/. "$artifacts"/.
cd "$artifacts"/.
find . \( -name \*.tar -o -name \*.sample \) -print0 | \
xargs -0r rm -v