summaryrefslogtreecommitdiffstats
path: root/test/test.d/db-remove.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-10-07 14:26:23 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-27 15:46:05 +0200
commit8b77df7580243360431cd5313841556dfa51e94e (patch)
tree5fa727c7bebc9d3601ed55d9dc8555450fcc014c /test/test.d/db-remove.sh
parent1a57633f1d8e15f4b0ca48f2acacf6b67f74b573 (diff)
downloaddbscripts-8b77df7580243360431cd5313841556dfa51e94e.tar.gz
dbscripts-8b77df7580243360431cd5313841556dfa51e94e.tar.xz
make tests.d/db-add work
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'test/test.d/db-remove.sh')
-rwxr-xr-xtest/test.d/db-remove.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test.d/db-remove.sh b/test/test.d/db-remove.sh
index 416e693..0a9a386 100755
--- a/test/test.d/db-remove.sh
+++ b/test/test.d/db-remove.sh
@@ -19,6 +19,9 @@ testRemovePackages() {
for pkgbase in ${pkgs[@]}; do
for arch in ${arches[@]}; do
+ # TODO: removing pkg-split-a/pkg-split-b won't work because
+ # db-remove only removes single packages, not a group of split
+ # packages. do we want that?
../db-remove extra ${arch} ${pkgbase}
done
done
@@ -45,6 +48,9 @@ testRemoveMultiplePackages() {
../db-update
for arch in ${arches[@]}; do
+ # TODO: removing pkg-split-a/pkg-split-b won't work because
+ # db-remove only removes single packages, not a group of split
+ # packages. do we want that?
../db-remove extra ${arch} ${pkgs[@]}
done
@@ -66,7 +72,7 @@ testRemoveAnyPackages() {
../db-update
for pkgbase in ${pkgs[@]}; do
- ../db-remove extra any ${pkgbase}
+ ../db-remove extra all ${pkgbase}
done
for pkgbase in ${pkgs[@]}; do