X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=4619c327dd024d95b9054dccb307262156ea5f24;hb=a8cd1ec26b7ed1144c46417091a5b95c9dd201ad;hp=e75f93b3dcab73a701559d006b72f958937ebf57;hpb=a9894fce06794680ab62dea0ff5d5a6e05e08281;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index e75f93b3..4619c327 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -1083,7 +1083,7 @@ emacs_generate_script # Use -P to resolve symlinks in our working directory so that the cwd # in subprocesses like git equals our $PWD (for pathname comparisons). -cd -P "$test" || error "Cannot set up test environment" +cd -P "$TMP_DIRECTORY" || error "Cannot set up test environment" if test "$verbose" = "t" then