]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
test: mkdir and cd to $TMP_DIRECTORY instead of $test for testing
[notmuch] / test / test-lib.sh
index e75f93b3dcab73a701559d006b72f958937ebf57..4619c327dd024d95b9054dccb307262156ea5f24 100644 (file)
@@ -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