Integration test. # pkg-sha256-bad has a bad SHA sum, but good MD5 sum. If apt is # checking the best available hash (as it should), this will trigger # a hash mismatch.
-- before patch: Test for hash ok of apt-get source -d pkg-md5-ok … PASS Test for hash ok of apt-get source -d pkg-sha256-ok … PASS Test for hash mismatch of apt-get source -d pkg-sha256-bad … FAIL -- after patch: Test for hash ok of apt-get source -d pkg-md5-ok … PASS Test for hash ok of apt-get source -d pkg-sha256-ok … PASS Test for hash mismatch of apt-get source -d pkg-sha256-bad … PASS ** Attachment added: "test-debsrc-hashes" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1098738/+attachment/3508325/+files/test-debsrc-hashes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1098738 Title: apt-get source only checks md5 hashes in Sources files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1098738/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs