diff options
| author | Lucio Sauer <watermanpaint@posteo.net> | 2026-02-27 01:28:41 +0000 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2026-03-06 07:52:19 +0800 |
| commit | e211ccc9317b67102c6d8d3f6e2f2737e93388f7 (patch) | |
| tree | 8ea1dfdd2989fbbec8bff2bf1835748ccd4934d0 /test/T000-basic.sh | |
| parent | bcb1398cdc2bf7d8fab0223b6cb008b7959e0780 (diff) | |
test: add user-configurable TEST_READELF variable
This allows tests to pass on systems where the readelf executable is
prefixed with a target triple.
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'test/T000-basic.sh')
| -rwxr-xr-x | test/T000-basic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T000-basic.sh b/test/T000-basic.sh index 642f918d..774f2f5a 100755 --- a/test/T000-basic.sh +++ b/test/T000-basic.sh @@ -72,7 +72,7 @@ test_expect_equal \ "$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')" test_begin_subtest 'notmuch is compiled with debugging symbols' -readelf --sections $(command -v notmuch) | grep \.debug +${TEST_READELF} --sections $(command -v notmuch) | grep \.debug test_expect_equal 0 $? test_done |
