[arch-projects] [dbscripts] [PATCH v2 1/6] test: db-move: Verify that it works on single-arch packages
Luke Shumaker
lukeshu at lukeshu.com
Fri Jun 22 16:08:11 UTC 2018
From: Luke Shumaker <lukeshu at parabola.nu>
---
test/cases/db-move.bats | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/test/cases/db-move.bats b/test/cases/db-move.bats
index df3dbdf..27fe8d1 100644
--- a/test/cases/db-move.bats
+++ b/test/cases/db-move.bats
@@ -39,6 +39,25 @@ load ../lib/common
done
}
+ at test "move single-arch packages" {
+ local arches=('i686' 'x86_64')
+ local pkgs=('pkg-single-arch' 'pkg-simple-b')
+ local pkgbase
+ local arch
+
+ for pkgbase in ${pkgs[@]}; do
+ releasePackage testing ${pkgbase}
+ done
+
+ db-update
+
+ db-move testing extra pkg-single-arch
+
+ checkRemovedPackage testing pkg-single-arch
+ checkPackage extra pkg-single-arch
+ checkPackage testing pkg-simple-b
+}
+
@test "move epoch packages" {
local arches=('i686' 'x86_64')
local pkgs=('pkg-simple-epoch')
--
2.17.1
More information about the arch-projects
mailing list