kubo/test/sharness/lib
Lars Gierth 26770b7ebb
fsrepo: fix musl detection for migrations
The ldd command used for detection doesn't seem to have a
--version flag on Alpine Linux. It would print the expected
output, but instead of stdout, it would print it on stderr.

The musl detection code would only scan stdout for mentions
of "musl", and would thus *not* download the musl version
of the fs-repo-migrations executable.

This manifested in the well-known "fs-repo-migrations: not found"
error, which you get when executing something that was linked
against a different libc than the one present on the system.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2017-02-17 08:37:26 +01:00
..
install-sharness.sh make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
iptb-lib.sh pubsub sharness tests after chriscool feedback 2016-12-04 03:22:51 +01:00
random-dep.go added random-files tool for testing 2015-07-29 03:18:24 -07:00
test-aggregate-results.sh moved sharness tests to a subdir. 2015-01-07 07:10:17 -08:00
test-lib-hashes.sh assets: rebuild them 2016-11-03 00:38:32 +01:00
test-lib.sh fsrepo: fix musl detection for migrations 2017-02-17 08:37:26 +01:00