summaryrefslogtreecommitdiff
path: root/test/test.d/db-repo-remove.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-12 19:32:48 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-16 22:12:31 -0600
commit5ba4756a52e8f1280d4dbcff62dec4a4aeb47d1c (patch)
tree2dc1b0afc9e8bd80af74a66cd006032d5c74e7ef /test/test.d/db-repo-remove.sh
parent86aeadb4c3d56f168e0bce34e0e2fa06c1ccb78b (diff)
Don't make assumptions about the host architecture.
Diffstat (limited to 'test/test.d/db-repo-remove.sh')
-rwxr-xr-xtest/test.d/db-repo-remove.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.d/db-repo-remove.sh b/test/test.d/db-repo-remove.sh
index 315d63d..eec0109 100755
--- a/test/test.d/db-repo-remove.sh
+++ b/test/test.d/db-repo-remove.sh
@@ -4,7 +4,7 @@ curdir=$(readlink -e $(dirname $0))
. "${curdir}/../lib/common.inc"
testRemovePackages() {
- local arches=('i686' 'x86_64')
+ local arches=(`arches`)
local pkgs=('pkg-simple-a' 'pkg-simple-b' 'pkg-simple-epoch')
local pkgbase
local arch
@@ -31,7 +31,7 @@ testRemovePackages() {
}
testRemoveMultiplePackages() {
- local arches=('i686' 'x86_64')
+ local arches=(`arches`)
local pkgs=('pkg-simple-a' 'pkg-simple-b' 'pkg-simple-epoch')
local pkgbase
local arch