[PATCH] test: verify test database v1 checksum in more portable way
David Bremner
david at tethera.net
Sun Mar 12 15:33:01 PDT 2017
Tomi Ollila <tomi.ollila at iki.fi> writes:
> Replaced use of sha256 (gnu coreutils binary) with more portable
> openssl sha256 execution.
> ---
>
> Works on Linux and also on my FreeBSD KVM environment.
There's a tradeoff here. In a minimal GNU/Linux environment coreutils is
there but not openssl. So I don't mind the substitution (for the test
suite), but I think you need to add a
"test_require_external prereq openssl" or equivalent to T530-upgrade.sh
This will also require adding openssl as a debian build dependency; I
can also live with that, although it might inconvenience some people
building the debian-snapshot target.
There's something aesthetically displeasing about hardcoding the
checksum into the test script but I think I'm just grumbling at this
point.
More information about the notmuch
mailing list