summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-17 16:41:31 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-17 16:41:31 +0200
commitcb39feaff074c5e08ff2dfce8dfa04c545233b7e (patch)
treea73133dbb181c161d2801b971bf354aacaa1bb21 /test
parent4daeb0a71e65618c56d672118675c9efd57c5979 (diff)
downloaddbscripts-cb39feaff074c5e08ff2dfce8dfa04c545233b7e.tar.gz
dbscripts-cb39feaff074c5e08ff2dfce8dfa04c545233b7e.tar.xz
Don't try to update no package
Check if there are packages to update for given architecure. Previously db-update quit when only one arch of a package was available.
Diffstat (limited to 'test')
-rwxr-xr-xtest/runTest6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/runTest b/test/runTest
index 95d8c6c..72f9b1c 100755
--- a/test/runTest
+++ b/test/runTest
@@ -42,6 +42,12 @@ testAddSimplePackages() {
done
}
+testAddSingleSimplePackage() {
+ releasePackage extra 'pkg-simple-a' 'i686'
+ ../db-update
+ checkPackage extra 'pkg-simple-a-1-1-i686.pkg.tar.xz' 'i686'
+}
+
testAddAnyPackages() {
local pkgs=('pkg-any-a' 'pkg-any-b')
local pkgbase