summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-07-03 23:00:16 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-07-03 23:12:37 +0100
commite336da03c1d9568dc889e18659c483d5eb047c99 (patch)
treea02782152ed8810468e79411253ef66520b9deaf /tests
parentf403615a1ab4329f280d5c32da9350213601cb0c (diff)
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.
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 7f459aa..48bc237 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