Re: [PATCH 42/42] t1510: all failed tests are now fixed
On Fri, Oct 29, 2010 at 01:48:54PM +0700, Nguyyyyn Thhhi Nggggc Duy wrote:
> get_git_work_tree() clean up patch impacts all three setup_* functions
> and makes it impossible to mark what patch fixes what tests. But
> everything is OK now.
And I forgot to amend the last bits in.
---8<---
diff --git a/t/t1510-repo-setup.sh b/t/t1510-repo-setup.sh
index 3eddc71..0343045 100755
--- a/t/t1510-repo-setup.sh
+++ b/t/t1510-repo-setup.sh
@@ -779,7 +779,7 @@ EOF
GIT_DIR="$TRASH_DIRECTORY/6/.git" test_repo 6/sub/sub
'
-test_expect_failure '#6: GIT_DIR(rel), core.worktree=../.. at root' '
+test_expect_success '#6: GIT_DIR(rel), core.worktree=../.. at root' '
cat >6/expected <<EOF &&
setup: git_dir: $TRASH_DIRECTORY/6/.git
setup: worktree: $TRASH_DIRECTORY
@@ -790,7 +790,7 @@ EOF
GIT_DIR=.git test_repo 6
'
-test_expect_failure '#6: GIT_DIR(rel), core.worktree=../..(rel) at root' '
+test_expect_success '#6: GIT_DIR(rel), core.worktree=../..(rel) at root' '
cat >6/expected <<EOF &&
setup: git_dir: $TRASH_DIRECTORY/6/.git
setup: worktree: $TRASH_DIRECTORY
---8<---