From 08fed99ae862255f06ef2254b7cef3a5fab178b6 Mon Sep 17 00:00:00 2001 From: Stephen Gildea Date: Fri, 3 Nov 2023 15:24:21 -0700 Subject: [PATCH] MH-E testing: find locally-installed GNU Mailutils libraries * test/lisp/mh-e/test-all-mh-variants.sh: LD_LIBRARY_PATH is sometimes necessary. This reverts part of commit f1fcd321ff of 24 Nov 2021. --- test/lisp/mh-e/test-all-mh-variants.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lisp/mh-e/test-all-mh-variants.sh b/test/lisp/mh-e/test-all-mh-variants.sh index 5e6b26fd2ec..602d831e28c 100755 --- a/test/lisp/mh-e/test-all-mh-variants.sh +++ b/test/lisp/mh-e/test-all-mh-variants.sh @@ -81,8 +81,10 @@ for path in "${mh_sys_path[@]}"; do fi echo "** Testing with PATH $path" ((++tests_total)) + # The LD_LIBRARY_PATH setting is needed + # to run locally installed Mailutils. TEST_MH_PATH=$path TEST_MH_DEBUG=$debug \ - HOME=/nonexistent \ + LD_LIBRARY_PATH=/usr/local/lib HOME=/nonexistent \ "${emacs[@]}" -l ert \ --eval "(setq load-prefer-newer t)" \ --eval "(load \"$PWD/test/lisp/mh-e/mh-utils-tests\" nil t)" \ -- 2.39.2