summaryrefslogtreecommitdiff
path: root/test/test.d/db-update.sh
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-03-23 19:50:56 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-03-23 19:50:56 +0100
commitd568b8aeb0be95d6a1da7da0434de23e6b2260e2 (patch)
tree3051c14427751e9e79b1f4878fb6e8299440d728 /test/test.d/db-update.sh
parent9e4f661adf89d150b0891d6edd39e19682d923bf (diff)
Add support for packages which use the epoch variable
Diffstat (limited to 'test/test.d/db-update.sh')
-rwxr-xr-xtest/test.d/db-update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.d/db-update.sh b/test/test.d/db-update.sh
index 5a3d01d..8acfbeb 100755
--- a/test/test.d/db-update.sh
+++ b/test/test.d/db-update.sh
@@ -30,6 +30,12 @@ testAddSingleSimplePackage() {
checkPackage extra 'pkg-simple-a-1-1-i686.pkg.tar.xz' 'i686'
}
+testAddSingleEpochPackage() {
+ releasePackage extra 'pkg-simple-epoch' 'i686'
+ ../db-update
+ checkPackage extra 'pkg-simple-epoch-1:1-1-i686.pkg.tar.xz' 'i686'
+}
+
testAddAnyPackages() {
local pkgs=('pkg-any-a' 'pkg-any-b')
local pkgbase