diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-12 19:32:48 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-16 22:12:31 -0600 |
commit | 5ba4756a52e8f1280d4dbcff62dec4a4aeb47d1c (patch) | |
tree | 2dc1b0afc9e8bd80af74a66cd006032d5c74e7ef /test/test.d/create-filelists.sh | |
parent | 86aeadb4c3d56f168e0bce34e0e2fa06c1ccb78b (diff) |
Don't make assumptions about the host architecture.
Diffstat (limited to 'test/test.d/create-filelists.sh')
-rwxr-xr-x | test/test.d/create-filelists.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.d/create-filelists.sh b/test/test.d/create-filelists.sh index 49734c4..8df7030 100755 --- a/test/test.d/create-filelists.sh +++ b/test/test.d/create-filelists.sh @@ -4,7 +4,7 @@ curdir=$(readlink -e $(dirname $0)) . "${curdir}/../lib/common.inc" testCreateSimpleFileLists() { - local arches=('i686' 'x86_64') + local arches=(`arches`) local pkgs=('pkg-simple-a' 'pkg-simple-b' 'pkg-simple-epoch') local pkgbase local arch @@ -26,7 +26,7 @@ testCreateSimpleFileLists() { } testCreateAnyFileLists() { - local arches=('i686' 'x86_64') + local arches=(`arches`) local pkgs=('pkg-any-a' 'pkg-any-b') local pkgbase local arch @@ -46,7 +46,7 @@ testCreateAnyFileLists() { } testCreateSplitFileLists() { - local arches=('i686' 'x86_64') + local arches=(`arches`) local pkgs=('pkg-split-a' 'pkg-split-b') local pkg local pkgbase @@ -75,7 +75,7 @@ testCreateSplitFileLists() { testCleanupFileLists() { - local arches=('i686' 'x86_64') + local arches=(`arches`) local pkgs=('pkg-simple-a' 'pkg-simple-b') local pkgbase local arch |