diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-03-21 13:31:34 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-21 13:31:34 +0100 |
commit | a1b6a4e7c5f5a859d27e00c2753b7f7b7e9ae14d (patch) | |
tree | 45658eaed7fd3076d1b7eaa879f0942dd5f578ad /test/integration/test-bug-612958-use-dpkg-multiarch-config | |
parent | 33ad1650c3192aba5ba43128190730c88ad9d011 (diff) |
add testcase for APT::Architectures "arch1,arch2"
Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-bug-612958-use-dpkg-multiarch-config')
-rwxr-xr-x | test/integration/test-bug-612958-use-dpkg-multiarch-config | 9 |
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 |