summaryrefslogtreecommitdiff
path: root/test/libapt/getarchitectures_test.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-29 15:45:06 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-29 15:45:06 +0200
commit194fac6be95e698d8eec86ddf19ebc1e7ca6d5c7 (patch)
treeee446fd8a9ae1a184395ed339c71331437f51717 /test/libapt/getarchitectures_test.cc
parent64dda04bd949ab73ca77732fcc5149cc7c2a5557 (diff)
parentfc15861a405a0b0483bb8989e6a43215a86dba55 (diff)
merged from debian-sid
Diffstat (limited to 'test/libapt/getarchitectures_test.cc')
-rw-r--r--test/libapt/getarchitectures_test.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libapt/getarchitectures_test.cc b/test/libapt/getarchitectures_test.cc
index 1500caeed..e3ca7bbc2 100644
--- a/test/libapt/getarchitectures_test.cc
+++ b/test/libapt/getarchitectures_test.cc
@@ -39,6 +39,12 @@ int main(int argc,char *argv[])
_config->Set("APT::Architecture", "armel");
vec = APT::Configuration::getArchitectures(false);
equals(vec.size(), 2);
+ equals(vec[0], "armel");
+ equals(vec[1], "i386");
+
+ _config->Set("APT::Architectures::2", "armel");
+ vec = APT::Configuration::getArchitectures(false);
+ equals(vec.size(), 2);
equals(vec[0], "i386");
equals(vec[1], "armel");