[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721723: apt: FTBFS on non-Linux: Testing with HashSums_libapt_test ###FAILED###



On Tue, Sep 3, 2013 at 3:42 PM, Aaron M. Ucko <ucko@debian.org> wrote:
> The Hurd and kFreeBSD builds of apt have all been failing libapt's
> test suite, so all three architectures are still on 0.9.10:
>
>   Test FAILED: »d41d8cd98f00b204e9800998ecf8427e« == »89f331147b07a354262948559d430f0b« at line 130
>   Testing with HashSums_libapt_test ###FAILED###
>
> Could you please take a look?

mhhhh.

"d41d8cd98f00b204e9800998ecf8427e" is the md5 of an empty file.
"89f331147b07a354262948559d430f0b" is the md5 of our test file.
So the code calculates the right md5, but the expectation is wrong.

The testfile is the run-tests script itself which calculates its own md5 with:
$(md5sum $(readlink -f "./${0}") | cut -d' ' -f 1)

I remember changing the passing of parameters after 0.9.10 in that
script [0], but that doesn't look to promising and that it works for linux
makes it even more strange… or maybe I just don't see the elephant in the room.

Any ideas?


Best regards

David Kalnischkies

[0] http://anonscm.debian.org/gitweb/?p=apt/apt.git;a=commitdiff;h=ca6ab6e37c101f21066d1522c6e9c202856842ca


Reply to: