]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-612958-use-dpkg-multiarch-config
sync TFRewrite*Order arrays with dpkg and dak
[apt.git] / test / integration / test-bug-612958-use-dpkg-multiarch-config
index 4d1f00ca056fa72ece2a81725deea5b8b3834109..7bf5781e8b88bdca255f8175e70627237642f83c 100755 (executable)
@@ -42,6 +42,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