X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=4619c327dd024d95b9054dccb307262156ea5f24;hp=e75f93b3dcab73a701559d006b72f958937ebf57;hb=8dfa116010adba3a41b6a4248d1706b34ffae600;hpb=8e7fb88237aedea22ecb70b0195984c2f177bbeb 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