X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=test%2Ftest-lib.sh;h=7926d27877102a0bc7a528dc40ec0438cf01d1f9;hb=d455c8b74a2a63454779445e14ac3e81141b204a;hp=e75f93b3dcab73a701559d006b72f958937ebf57;hpb=a9894fce06794680ab62dea0ff5d5a6e05e08281;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index e75f93b3..7926d278 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -160,9 +160,6 @@ do valgrind=t; verbose=t; shift ;; --tee) shift ;; # was handled already - --root=*) - root=$(expr "z$1" : 'z[^=]*=\(.*\)') - shift ;; *) echo "error: unknown test option '$1'" >&2; exit 1 ;; esac @@ -1083,7 +1080,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