diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-03-23 19:50:56 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-03-23 19:50:56 +0100 |
commit | d568b8aeb0be95d6a1da7da0434de23e6b2260e2 (patch) | |
tree | 3051c14427751e9e79b1f4878fb6e8299440d728 /test/test.d/db-update.sh | |
parent | 9e4f661adf89d150b0891d6edd39e19682d923bf (diff) |
Add support for packages which use the epoch variable
Diffstat (limited to 'test/test.d/db-update.sh')
-rwxr-xr-x | test/test.d/db-update.sh | 6 |
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 |