]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-747261-arch-specific-conflicts
don't try other compressions on hashsum mismatch
[apt.git] / test / integration / test-bug-747261-arch-specific-conflicts
index bfb2d089f817ef378c4e1a148f75af7a973617a6..be971b89e0ca59f118c04036e6d2ec350b82e2ee 100755 (executable)
@@ -6,6 +6,21 @@ TESTDIR=$(readlink -f $(dirname $0))
 setupenvironment
 configarchitecture 'amd64' 'sparc' 'armel'
 
 setupenvironment
 configarchitecture 'amd64' 'sparc' 'armel'
 
+msgtest 'Check that dpkg supports' 'arch-specific dependencies'
+set +e
+# this fails always, the question is just how it fails
+dpkg-checkbuilddeps -d 'foobar:barfoo' /dev/null 2>/dev/null >/dev/null
+RETURNCODE=$?
+set -e
+if [ "$RETURNCODE" != '1' ]; then
+       dpkg-checkbuilddeps -d 'foobar:barfoo' /dev/null || true
+       echo "Command had returncode: $RETURNCODE"
+       msgskip
+       exit 0
+else
+       msgpass
+fi
+
 buildsimplenativepackage 'libc6' 'amd64,sparc,armel' '1' 'stable' 'Multi-Arch: same'
 buildsimplenativepackage 'libc6-i386' 'amd64' '1' 'stable' 'Conflicts: libc6:sparc'
 
 buildsimplenativepackage 'libc6' 'amd64,sparc,armel' '1' 'stable' 'Multi-Arch: same'
 buildsimplenativepackage 'libc6-i386' 'amd64' '1' 'stable' 'Conflicts: libc6:sparc'