chiark / gitweb /
test suite: chmod a+r $AUTOPKGTEST explicitly.
[dgit.git] / tests / lib
index 87dd37617e7f6769a8eb42657e745ecf7af9b177..4425bf6efc4834243aba3af4bb8c13e99eb1eaa1 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -420,7 +420,8 @@ 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"/.
+       chmod -R a+r -- "$artifacts"/.
        cd "$artifacts"/.
        find . \( -name \*.tar -o -name \*.sample \) -print0 | \
                xargs -0r rm -v