diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-11-05 17:38:16 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-11-05 17:38:16 +0100 |
commit | 5c614ddd8ba74bca6a2dfe83a599601533d9ddc7 (patch) | |
tree | 7fca3996f576fd837be1f0f0fbfa0ab0625dd041 | |
parent | 6159269bfbb850b2aed25e335fc5d538a2d4de4f (diff) |
check svn entry for any packages
-rw-r--r-- | test/lib/common.inc | 5 |
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() { |