From: Ian Jackson Date: Sun, 3 Jul 2016 22:00:16 +0000 (+0100) Subject: Test suite: lib t-untar of an edited tartree: do not hardlink X-Git-Tag: archive/debian/2.0~345 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=e336da03c1d9568dc889e18659c483d5eb047c99 Test suite: lib t-untar of an edited tartree: do not hardlink Some of the tools we use, it turns out, do not update properly: they overwrite in place. This can cause inadvertant changes to a tartree opened for editing. --- diff --git a/tests/lib b/tests/lib index 7f459aa2..48bc2373 100644 --- a/tests/lib +++ b/tests/lib @@ -134,7 +134,7 @@ t-untar () { local tarfile=$1.tar local edittree=$1.edit if test -d "$edittree"; then - cp -al "$edittree"/* . + cp -a "$edittree"/* . else tar xf "$tarfile" fi