Skip to content

Commit

Permalink
Merge branch 'ee/clean-test-fixes'
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 2, 2015
2 parents 699a0f3 + 1733ed3 commit 83d9092
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 Down Expand Up @@ -601,9 +597,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 @@ -612,9 +606,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 83d9092

Please sign in to comment.