Skip to content

Commit

Permalink
Merge branch 'ee/clean-test-fixes' into maint
Browse files Browse the repository at this point in the history
* ee/clean-test-fixes:
  t7300: fix broken && chains
  • Loading branch information
Junio C Hamano committed Sep 4, 2015
2 parents 5af77d1 + 1733ed3 commit fb8880d
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions t/t7300-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,7 @@ test_expect_success 'nested git work tree' '
(
cd foo &&
git init &&
>hello.world
git add . &&
git commit -a -m nested
test_commit nested hello.world
) &&
(
cd bar &&
Expand All @@ -443,9 +441,7 @@ test_expect_success 'nested git work tree' '
(
cd baz/boo &&
git init &&
>deeper.world
git add . &&
git commit -a -m deeply.nested
test_commit deeply.nested deeper.world
) &&
git clean -f -d &&
test -f foo/.git/index &&
Expand All @@ -461,9 +457,7 @@ test_expect_success 'force removal of nested git work tree' '
(
cd foo &&
git init &&
>hello.world
git add . &&
git commit -a -m nested
test_commit nested hello.world
) &&
(
cd bar &&
Expand All @@ -472,9 +466,7 @@ test_expect_success 'force removal of nested git work tree' '
(
cd baz/boo &&
git init &&
>deeper.world
git add . &&
git commit -a -m deeply.nested
test_commit deeply.nested deeper.world
) &&
git clean -f -f -d &&
! test -d foo &&
Expand Down

0 comments on commit fb8880d

Please sign in to comment.