summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-15 19:17:05 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-15 19:17:05 +0200
commitce604bc3a2569198fa749acca190fef036e059a1 (patch)
treea7d2b0ac94d2f8f7f82d78ba5b6d9c3c1b563017 /test/lib
parent79db58732efbab54911ccbbb8cd876da29ea48c8 (diff)
downloaddbscripts-ce604bc3a2569198fa749acca190fef036e059a1.tar.gz
dbscripts-ce604bc3a2569198fa749acca190fef036e059a1.tar.xz
add test to check updating a package
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc
index 5c76eb5..e55ce38 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -75,8 +75,9 @@ releasePackage() {
pushd "${TMP}/svn-packages-copy"/${pkgbase}/trunk/ >/dev/null
archrelease ${repo}-${arch} >/dev/null 2&>1
+ pkgver=$(. PKGBUILD; echo "${pkgver}-${pkgrel}")
popd >/dev/null
- cp "${pkgdir}/${pkgbase}"/*.pkg.tar.* "${STAGING}"/${repo}/
+ cp "${pkgdir}/${pkgbase}"/*-${pkgver}-${arch}.pkg.tar.* "${STAGING}"/${repo}/
}
checkAnyPackage() {