]> git.saurik.com Git - apt.git/commitdiff
add testcase for APT::Architectures "arch1,arch2"
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 21 Mar 2014 12:31:34 +0000 (13:31 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 21 Mar 2014 12:31:34 +0000 (13:31 +0100)
Git-Dch: Ignore

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