X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft1501-worktree.sh;h=da6252b1179c47d39393c983d88c75d84a507cb7;hb=65969d43d10512a44f5e7248e4404b946d1d0d9f;hp=f072a8ed48ce87267c72635f417bc0b3ebe03f19;hpb=8594495cd65f0a05ef2ce5a0225d663d89ccc6c3;p=git.git diff --git a/t/t1501-worktree.sh b/t/t1501-worktree.sh index f072a8ed4..da6252b11 100755 --- a/t/t1501-worktree.sh +++ b/t/t1501-worktree.sh @@ -343,7 +343,7 @@ test_expect_success 'make_relative_path handles double slashes in GIT_DIR' ' test_expect_success 'relative $GIT_WORK_TREE and git subprocesses' ' GIT_DIR=repo.git GIT_WORK_TREE=repo.git/work \ test-subprocess --setup-work-tree rev-parse --show-toplevel >actual && - echo "$TRASH_DIRECTORY/repo.git/work" >expected && + echo "$(pwd)/repo.git/work" >expected && test_cmp expected actual '