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:
9094026
)
Tests: Make some t-archive* functions take a suite
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 16 May 2015 23:46:32 +0000
(
00:46
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 31 May 2015 10:54:13 +0000
(11:54 +0100)
tests/lib
patch
|
blob
|
history
diff --git
a/tests/lib
b/tests/lib
index fd06097bd090bf186826c14eced3b78573d5a315..3c31a29cb11ff689128bb791d563002cf48f9bd3 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-152,15
+152,17
@@
t-archive-updated () {
}
t-archive-process-incoming () {
}
t-archive-process-incoming () {
- mv incoming/${p}_${v}[._]* mirror/pool/main/
- t-archive-query
+ local suite=$1
+ mv $tmp/incoming/${p}_${v}[._]* $tmp/mirror/pool/main/
+ t-archive-query "$suite"
}
t-archive-query () {
}
t-archive-query () {
+ local suite=${1-sid}
local dscf=main/${p}_${v}.dsc
local dscf=main/${p}_${v}.dsc
- local sha=`sha256sum <mirror/pool/$dscf`
- echo "${v} ${sha% -} $dscf" >>$tmp/aq/package.
sid
.${p}
- t-archive-updated
sid
$p
+ local sha=`sha256sum <
$tmp/
mirror/pool/$dscf`
+ echo "${v} ${sha% -} $dscf" >>$tmp/aq/package.
$suite
.${p}
+ t-archive-updated
$suite
$p
}
t-archive () {
}
t-archive () {