chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ddac7d
)
test suite: t-archive: Honour t_archive_ln_s
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Sep 2019 20:56:54 +0000
(21:56 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Sep 2019 21:03:54 +0000
(22:03 +0100)
This will let us arrange to use cp instead.
No functional change for existing callers.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib
patch
|
blob
|
history
diff --git
a/tests/lib
b/tests/lib
index 8392e79a5cfe779e61f3aa6b96c4772c06773570..c03f34a721c6a92c1873e18f33e4d1bcdb6d7ba3 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-362,7
+362,8
@@
t-archive () {
v=$2
local dscf=${p}_$2.dsc
rm -f $tmp/mirror/pool/main/${p}_*
- ln -s $troot/pkg-srcs/${p}_${2%-*}* $tmp/mirror/pool/main/
+ ${t_archive_ln_s-ln -s} \
+ $troot/pkg-srcs/${p}_${2%-*}* $tmp/mirror/pool/main/
t-archive-query $suite
rm -rf $tmp/extract
mkdir $tmp/extract