summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-21 13:59:30 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-21 13:59:30 +0100
commitcf642f924a4404f85926619324e59b3c878c1284 (patch)
tree4a1989ab4b2dbff41071de9668556c73b4085fe0 /test
parent30a128a864bdbfc294b6ba6a49c9264570bb3c58 (diff)
sourceballs: Support any packages
Diffstat (limited to 'test')
-rwxr-xr-xtest/runTest15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/runTest b/test/runTest
index 6c60ddc..fe22ce7 100755
--- a/test/runTest
+++ b/test/runTest
@@ -558,6 +558,21 @@ testSourceballs() {
done
}
+testAnySourceballs() {
+ local pkgs=('pkg-any-a' 'pkg-any-b')
+ local pkgbase
+
+ for pkgbase in ${pkgs[@]}; do
+ releasePackage extra ${pkgbase} any
+ done
+ ../db-update
+
+ ../cron-jobs/sourceballs
+ for pkgbase in ${pkgs[@]}; do
+ [ ! -r ${FTP_BASE}/${SRCPOOL}/${pkgbase}-*${SRCEXT} ] && fail "source package not found!"
+ done
+}
+
testSourceballsCleanup() {
local arches=('i686' 'x86_64')
local pkgs=('pkg-simple-a' 'pkg-simple-b')