]> git.cworth.org Git - notmuch/blobdiff - test/test-lib.sh
update version to 0.32~rc0
[notmuch] / test / test-lib.sh
index 1f438042909d7115778ef19efe47c37ef709b0c4..3f8d58277dc1b5b550da51826d4cf2365276cf27 100644 (file)
@@ -104,6 +104,9 @@ unset CDPATH
 
 unset GREP_OPTIONS
 
+# For lib/open.cc:_load_key_file
+unset XDG_CONFIG_HOME
+
 # For emacsclient
 unset ALTERNATE_EDITOR
 
@@ -1128,7 +1131,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