X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=098d69da347cffc689cb986761421f3ad2444250;hb=9ad19e4454ff98342a6c0ec5a7e44c8c516e6fcd;hp=1f438042909d7115778ef19efe47c37ef709b0c4;hpb=2e9ee47072e161e85d2ac60515d1c922ea881e40;p=notmuch 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