summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-11-05 17:38:16 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-11-05 17:38:16 +0100
commit5c614ddd8ba74bca6a2dfe83a599601533d9ddc7 (patch)
tree7fca3996f576fd837be1f0f0fbfa0ab0625dd041 /test
parent6159269bfbb850b2aed25e335fc5d538a2d4de4f (diff)
downloaddbscripts-5c614ddd8ba74bca6a2dfe83a599601533d9ddc7.tar.gz
dbscripts-5c614ddd8ba74bca6a2dfe83a599601533d9ddc7.tar.xz
check svn entry for any packages
Diffstat (limited to 'test')
-rw-r--r--test/lib/common.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc
index c96e677..61e57d0 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -158,6 +158,11 @@ checkAnyPackage() {
[ -r "${FTP_BASE}/${repo}/os/any/${pkg}" ] && fail "${repo}/os/any/${pkg} should not exist"
[ -r "${FTP_BASE}/${repo}/os/any/${pkg}.sig" ] && fail "${repo}/os/any/${pkg}.sig should not exist"
+
+ local pkgbase=$(getpkgbase "${FTP_BASE}/${PKGPOOL}/${pkg}")
+ svn up -q "${TMP}/svn-packages-copy/${pkgbase}"
+ [ -d "${TMP}/svn-packages-copy/${pkgbase}/repos/${repo}-any" ] \
+ || fail "svn-packages-copy/${pkgbase}/repos/${repo}-any does not exist"
}
checkPackage() {