diff --git a/test/test-lib.sh b/test/test-lib.sh index 1f438042..098d69da 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -1128,7 +1128,7 @@ notmuch_with_shim () { base_name="$1" shift shim_file="${base_name}.so" - LD_PRELOAD=./${shim_file}${LD_PRELOAD:+:$LD_PRELOAD} notmuch-shared "$@" + LD_PRELOAD=${LD_PRELOAD:+:$LD_PRELOAD}:./${shim_file} notmuch-shared "$@" } # Creates a script that counts how much time it is executed and calls