From cf642f924a4404f85926619324e59b3c878c1284 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 21 Nov 2010 13:59:30 +0100 Subject: sourceballs: Support any packages --- test/runTest | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test') 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') -- cgit v1.2.3-24-g4f1b