diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-22 14:35:30 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-22 14:35:30 +0100 |
commit | 5869af885163b763abb204dff2cc847556fb247b (patch) | |
tree | 3287282d5c8f238e14451c893fd98ddb31c379ed /test | |
parent | cb03c851fe6ce0921ddc3f102ab7f5243612dc8b (diff) |
sourceballs: add for split packages
Diffstat (limited to 'test')
-rwxr-xr-x | test/runTest | 21 |
1 files changed, 21 insertions, 0 deletions
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') |