From 5c614ddd8ba74bca6a2dfe83a599601533d9ddc7 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 5 Nov 2011 17:38:16 +0100 Subject: check svn entry for any packages --- test/lib/common.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') 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() { -- cgit v1.2.3-24-g4f1b