summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <egon@debian-devbox>2012-01-18 10:24:43 +0100
committerMichael Vogt <egon@debian-devbox>2012-01-18 10:24:43 +0100
commit5abee4863220c2d9b135dc832b33c8680e5ba12e (patch)
treec8c60d8d64ac697d23309d4ee5c185e63301295d /test
parenta97c2991ab68ef77abdd5a13a1f49f08fa2755ff (diff)
parent6dcf25e754baca025ff3694b063f778c8c8948af (diff)
* apt-pkg/aptconfiguration.cc:
- parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too. (Closes: #655590) * Slovak (Ivan Masar). Closes: #652985 * Russian (Yuri Kozlov). Closes: #654844 * Hungarian (Gabor Kelemen). Closes: #655238
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'