Skip to content

Commit

Permalink
tests: fix broken && chains in t1509-root-worktree
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Patrick Steinhardt authored and Junio C Hamano committed Aug 5, 2015
1 parent a17c56c commit 24ca45f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/t1509-root-worktree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fi
ONE_SHA1=d00491fd7e5bb6fa28c517a0bb32b8b506539d4d

test_expect_success 'setup' '
rm -rf /foo
rm -rf /foo &&
mkdir /foo &&
mkdir /foo/bar &&
echo 1 > /foo/foome &&
Expand Down Expand Up @@ -218,7 +218,7 @@ unset GIT_WORK_TREE

test_expect_success 'go to /' 'cd /'
test_expect_success 'setup' '
rm -rf /.git
rm -rf /.git &&
echo "Initialized empty Git repository in /.git/" > expected &&
git init > result &&
test_cmp expected result
Expand All @@ -241,8 +241,8 @@ say "auto bare gitdir"

# DESTROYYYYY!!!!!
test_expect_success 'setup' '
rm -rf /refs /objects /info /hooks
rm /*
rm -rf /refs /objects /info /hooks &&
rm /* &&
cd / &&
echo "Initialized empty Git repository in /" > expected &&
git init --bare > result &&
Expand Down

0 comments on commit 24ca45f

Please sign in to comment.