From e336da03c1d9568dc889e18659c483d5eb047c99 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 3 Jul 2016 23:00:16 +0100 Subject: 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. --- tests/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib') 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 -- cgit v1.2.3