X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib-common.sh;h=ef409171fa86d547f43d5b940c7afd6e98d5b08d;hp=03ef1d2d02467674f4f096fcd872a409fe7421fe;hb=e1b7d32db00ea8afaa1f2ae31bdaa5cb423dda96;hpb=92d8eae8f182e4eebc87d76f8d4f37e6c018883a 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}"