From 5869af885163b763abb204dff2cc847556fb247b Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 22 Nov 2010 14:35:30 +0100 Subject: sourceballs: add for split packages --- test/runTest | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'test/runTest') diff --git a/test/runTest b/test/runTest index fe22ce7..f438704 100755 --- a/test/runTest +++ b/test/runTest @@ -573,6 +573,27 @@ testAnySourceballs() { done } +testSplitSourceballs() { + local arches=('i686' 'x86_64') + local pkgs=('pkg-split-a' 'pkg-split-b') + local pkg + local pkgbase + local arch + + for pkgbase in ${pkgs[@]}; do + for arch in ${arches[@]}; do + releasePackage extra ${pkgbase} ${arch} + done + 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