summaryrefslogtreecommitdiffstats
path: root/test/test.d
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-10-07 15:41:03 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-27 15:46:05 +0200
commit3aab49eb698b9697109e8efd22294a4bc3b811d4 (patch)
tree21d0580fd6d32e54fafff57b78b5c3b6075ce6cb /test/test.d
parent83350c1fd555fb474a0572f639cc8364260f180a (diff)
downloaddbscripts-3aab49eb698b9697109e8efd22294a4bc3b811d4.tar.gz
dbscripts-3aab49eb698b9697109e8efd22294a4bc3b811d4.tar.xz
make tests.d/ftpdir-cleanup work
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'test/test.d')
-rwxr-xr-xtest/test.d/ftpdir-cleanup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.d/ftpdir-cleanup.sh b/test/test.d/ftpdir-cleanup.sh
index bfea7ea..68ea922 100755
--- a/test/test.d/ftpdir-cleanup.sh
+++ b/test/test.d/ftpdir-cleanup.sh
@@ -72,7 +72,7 @@ testCleanupAnyPackages() {
done
../db-update
- ../db-remove extra any pkg-any-a
+ ../db-remove extra all 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 extra ${arch} ${pkgs[0]}
+ ../db-remove extra ${arch} pkg-split-a{1,2}
done
../cron-jobs/ftpdir-cleanup >/dev/null