summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-14 22:41:16 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-14 22:41:16 +0200
commit55aa721771c7486c447b270325c504724622fd00 (patch)
tree43eab3fe23f5772e0c2d27137f43e73a5b6a99c3 /test
parent1aec9771b5c2b29ef2427e3aaabd7ef5f58195c5 (diff)
downloaddbscripts-55aa721771c7486c447b270325c504724622fd00.tar.gz
dbscripts-55aa721771c7486c447b270325c504724622fd00.tar.xz
Prepare support for multiple packages in db-move
Diffstat (limited to 'test')
-rwxr-xr-xtest/runTest10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/runTest b/test/runTest
index 06ca000..8c1aa04 100755
--- a/test/runTest
+++ b/test/runTest
@@ -152,7 +152,7 @@ testMoveSimplePackages() {
../db-update
for arch in ${arches[@]}; do
- ../db-move pkg-simple-a testing extra ${arch}
+ ../db-move testing extra ${arch} pkg-simple-a
done
for arch in ${arches[@]}; do
@@ -172,7 +172,7 @@ testMoveAnyPackages() {
done
../db-update
- ../db-move pkg-any-a testing extra any
+ ../db-move testing extra any pkg-any-a
checkAnyPackage extra pkg-any-a-1-1-any.pkg.tar.xz
checkRemovedAnyPackage testing pkg-any-a
@@ -195,7 +195,7 @@ testMoveSplitPackages() {
../db-update
for arch in ${arches[@]}; do
- ../db-move pkg-split-a testing extra ${arch}
+ ../db-move testing extra ${arch} pkg-split-a
done
for arch in ${arches[@]}; do
@@ -338,7 +338,7 @@ testMovePackagesWithoutPool() {
for pkgbase in ${pkgs[@]}; do
for arch in ${arches[@]}; do
- ../db-move ${pkgbase} testing extra ${arch}
+ ../db-move testing extra ${arch} ${pkgbase}
done
done
@@ -378,7 +378,7 @@ testMoveAnyPackagesWithoutPool() {
../cron-jobs/ftpdir-cleanup >/dev/null
for pkgbase in ${pkgs[@]}; do
- ../db-move ${pkgbase} testing extra any
+ ../db-move testing extra any ${pkgbase}
done
../cron-jobs/ftpdir-cleanup >/dev/null