summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 00:33:46 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 00:33:46 +0200
commit23d4669b8e330d131b2f78cd5858b30a07478c8a (patch)
tree918144a3139b957445971014995d53a97bab6565 /test/lib
parent0cfcc705c755eda1911a8868b2214c6a56f8e064 (diff)
downloaddbscripts-23d4669b8e330d131b2f78cd5858b30a07478c8a.tar.gz
dbscripts-23d4669b8e330d131b2f78cd5858b30a07478c8a.tar.xz
Use package pool instead of $repo/os/any dirs
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/common.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc
index 3ba715e..4080c38 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -91,6 +91,8 @@ checkAnyPackage() {
[ -f "${STAGING}"/${repo}/${pkg} ] && fail "${repo}/${pkg} found in staging dir"
bsdtar -xf "${FTP_BASE}/${repo}/os/${arch}/${repo}.db.tar.gz" -O | grep -q ${pkg} || fail "${pkg} not in ${repo}/os/${arch}/${repo}.db.tar.gz"
+
+ [ -f "${FTP_BASE}/${repo}/os/any/${pkg}" ] && fail "${repo}/os/any/${pkg} should not exist"
}
checkPackage() {