X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib-common.sh;h=ef409171fa86d547f43d5b940c7afd6e98d5b08d;hb=58bf820b78f90c3db57fdd95a73fe76dc800733f;hp=03ef1d2d02467674f4f096fcd872a409fe7421fe;hpb=f0e5317bcdc856739c5107705e3bc86b31b01d38;p=notmuch diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh index 03ef1d2d..ef409171 100644 --- a/test/test-lib-common.sh +++ b/test/test-lib-common.sh @@ -66,6 +66,11 @@ export LD_LIBRARY_PATH # configure output . $notmuch_path/sh.config || exit 1 +# load OS specifics +if [ -e ./test-lib-$PLATFORM.sh ]; then + . ./test-lib-$PLATFORM.sh || exit 1 +fi + if test -n "$valgrind" then make_symlink () { @@ -158,7 +163,6 @@ export HOME="${TMP_DIRECTORY}/home" mkdir -p "${HOME}" MAIL_DIR="${TMP_DIRECTORY}/mail" -export GNUPGHOME="${TMP_DIRECTORY}/gnupg" export NOTMUCH_CONFIG="${TMP_DIRECTORY}/notmuch-config" mkdir -p "${test}"