summaryrefslogtreecommitdiff
path: root/test/test.d/ftpdir-cleanup.sh
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-11-05 15:03:05 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-11-05 15:03:05 +0100
commitae3ff361863b72d9cd52d9379cda7e7dbe825b15 (patch)
treebb60905e66f4c6379b250986bff728e209834455 /test/test.d/ftpdir-cleanup.sh
parentbbf00cc90ed8d1bf3bbed1f78acca71b2d624ee2 (diff)
Adjust tests to use new db-remove interface
Diffstat (limited to 'test/test.d/ftpdir-cleanup.sh')
-rwxr-xr-xtest/test.d/ftpdir-cleanup.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.d/ftpdir-cleanup.sh b/test/test.d/ftpdir-cleanup.sh
index 77b02b8..20026b4 100755
--- a/test/test.d/ftpdir-cleanup.sh
+++ b/test/test.d/ftpdir-cleanup.sh
@@ -18,7 +18,7 @@ testCleanupSimplePackages() {
../db-update
for arch in ${arches[@]}; do
- ../db-remove pkg-simple-a extra ${arch}
+ ../db-remove extra ${arch} pkg-simple-a
done
../cron-jobs/ftpdir-cleanup >/dev/null
@@ -49,7 +49,7 @@ testCleanupEpochPackages() {
../db-update
for arch in ${arches[@]}; do
- ../db-remove pkg-simple-epoch extra ${arch}
+ ../db-remove extra ${arch} pkg-simple-epoch
done
../cron-jobs/ftpdir-cleanup >/dev/null
@@ -72,7 +72,7 @@ testCleanupAnyPackages() {
done
../db-update
- ../db-remove pkg-any-a extra any
+ ../db-remove extra any pkg-any-a
../cron-jobs/ftpdir-cleanup >/dev/null
local pkg1='pkg-any-a-1-1-any.pkg.tar.xz'
@@ -100,7 +100,7 @@ testCleanupSplitPackages() {
../db-update
for arch in ${arches[@]}; do
- ../db-remove ${pkgs[0]} extra ${arch}
+ ../db-remove extra ${arch} ${pkgs[0]}
done
../cron-jobs/ftpdir-cleanup >/dev/null