Skip to content

Commit d11448f

Browse files
committed
Merge branch 'ps/t1509-chroot-test-fixup' into maint
t1509 test that requires a dedicated VM environment had some bitrot, which has been corrected. * ps/t1509-chroot-test-fixup: tests: fix cleanup after tests in t1509-root-worktree tests: fix broken && chains in t1509-root-worktree
2 parents 8b27071 + faacc5a commit d11448f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t1509-root-worktree.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ fi
125125
ONE_SHA1=d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
126126

127127
test_expect_success 'setup' '
128-
rm -rf /foo
128+
rm -rf /foo &&
129129
mkdir /foo &&
130130
mkdir /foo/bar &&
131131
echo 1 > /foo/foome &&
@@ -218,7 +218,7 @@ unset GIT_WORK_TREE
218218

219219
test_expect_success 'go to /' 'cd /'
220220
test_expect_success 'setup' '
221-
rm -rf /.git
221+
rm -rf /.git &&
222222
echo "Initialized empty Git repository in /.git/" > expected &&
223223
git init > result &&
224224
test_cmp expected result
@@ -241,8 +241,8 @@ say "auto bare gitdir"
241241

242242
# DESTROYYYYY!!!!!
243243
test_expect_success 'setup' '
244-
rm -rf /refs /objects /info /hooks
245-
rm /*
244+
rm -rf /refs /objects /info /hooks &&
245+
rm -f /expected /ls.expected /me /result &&
246246
cd / &&
247247
echo "Initialized empty Git repository in /" > expected &&
248248
git init --bare > result &&

0 commit comments

Comments
 (0)