summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-01-19 09:05:58 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2012-01-19 09:05:58 +0100
commit76dbf3cee365788eb7291c96f06b73a3769946d6 (patch)
tree96a77342412f666dac44b7db9285d859305c76f0 /test
parente08e66ca82147b72454964fdd624002f9b23290e (diff)
parent0d5603b886f67562c105b03820c595ac7ae3451a (diff)
merged from the debian-experimental2 branch
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-bug-612958-use-dpkg-multiarch-config18
1 files changed, 18 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 4f31c3953..18b964636 100755
--- a/test/integration/test-bug-612958-use-dpkg-multiarch-config
+++ b/test/integration/test-bug-612958-use-dpkg-multiarch-config
@@ -56,4 +56,22 @@ testfail 'dpkg config' 'armel'
echo '#! /bin/sh
echo "amd64 armel"' > ./dpkg-printer
+testpass 'dpkg config' 'i386'
+testpass 'dpkg config' 'amd64'
+testpass 'dpkg config' 'armel'
+
+echo '#! /bin/sh
+echo "amd64
+armel"' > ./dpkg-printer
+
+testpass 'dpkg config' 'i386'
+testpass 'dpkg config' 'amd64'
testpass 'dpkg config' 'armel'
+
+echo '#! /bin/sh
+echo "amd64
+i386"' > ./dpkg-printer
+
+testpass 'dpkg config' 'i386'
+testpass 'dpkg config' 'amd64'
+testfail 'dpkg config' 'armel'