summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-612958-use-dpkg-multiarch-config
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-03-27 15:20:49 +0100
committerMichael Vogt <mvo@debian.org>2014-03-27 15:20:49 +0100
commit355a960dd8bfbe2606be95d38aafd6bc0675d76f (patch)
tree67c58c736cee0f96f65b3de5e1070e1e1af92672 /test/integration/test-bug-612958-use-dpkg-multiarch-config
parentfa211e2d3b0305cfdd184cdba9750259f6d9c98e (diff)
parent62f1ee1cc7a5e16ca0cbfbee3c00cefab1892f87 (diff)
Merge branch 'debian/sid' into feature/more-fancy-progress
Diffstat (limited to 'test/integration/test-bug-612958-use-dpkg-multiarch-config')
-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