summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-03-21 13:31:34 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-21 13:31:34 +0100
commita1b6a4e7c5f5a859d27e00c2753b7f7b7e9ae14d (patch)
tree45658eaed7fd3076d1b7eaa879f0942dd5f578ad
parent33ad1650c3192aba5ba43128190730c88ad9d011 (diff)
add testcase for APT::Architectures "arch1,arch2"
Git-Dch: Ignore
-rwxr-xr-xtest/integration/test-bug-612958-use-dpkg-multiarch-config9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/test-bug-612958-use-dpkg-multiarch-config b/test/integration/test-bug-612958-use-dpkg-multiarch-config
index 4d1f00ca0..7bf5781e8 100755
--- a/test/integration/test-bug-612958-use-dpkg-multiarch-config
+++ b/test/integration/test-bug-612958-use-dpkg-multiarch-config
@@ -43,6 +43,15 @@ testpass 'apt config' 'armel'
rm $CONFFILE
echo '#clear APT::Architectures;' >> $CONFFILE
+echo 'APT::Architectures "i386,amd64";' >> $CONFFILE
+
+testpass 'apt config' 'i386'
+testpass 'apt config' 'amd64'
+testfail 'apt config' 'armel'
+
+rm $CONFFILE
+
+echo '#clear APT::Architectures;' >> $CONFFILE
echo 'Dir::Bin::dpkg "./dpkg-printer";' >> $CONFFILE
echo '#! /bin/sh