summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-09-03 19:18:05 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-03 19:18:05 -0700
commitfb8880dea3111deb4b1134471aa36f99285d86dc (patch)
tree0880d5a203102314cb47e3b0e809e97e34b2c867 /t
parentMerge branch 'jk/log-missing-default-HEAD' into maint (diff)
parentt7300: fix broken && chains (diff)
downloadtgif-fb8880dea3111deb4b1134471aa36f99285d86dc.tar.xz
Merge branch 'ee/clean-test-fixes' into maint
* ee/clean-test-fixes: t7300: fix broken && chains
Diffstat (limited to 't')
-rwxr-xr-xt/t7300-clean.sh16
1 files changed, 4 insertions, 12 deletions
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index 99be5d95d0..634808a708 100755
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
@@ -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 &&
@@ -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 &&
@@ -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 &&
@@ -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 &&