summaryrefslogtreecommitdiff
path: root/test/test.d/ftpdir-cleanup.sh
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-01-08 15:17:16 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-01-08 15:17:16 -0300
commit341400146cbde0dbf05eaa8aec531f5286fd91fb (patch)
treeaef2a4b704731ee405345bc8e22dbcdad2056cb5 /test/test.d/ftpdir-cleanup.sh
parenta749983e8f2becf7c5427b0e5c449d457afbe385 (diff)
parenta8b219b325cd642a781a64d8e08a0e66d25c1b44 (diff)
Merge branch 'master' of https://projects.archlinux.org/git/dbscripts
Conflicts: db-remove
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