Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
tests: fix broken && chains in t1509-root-worktree
author
Patrick Steinhardt
<ps@pks.im>
Wed, 5 Aug 2015 09:43:50 +0000
(11:43 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 5 Aug 2015 19:59:56 +0000
(12:59 -0700)
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1509-root-worktree.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a17c56c
)
diff --git
a/t/t1509-root-worktree.sh
b/t/t1509-root-worktree.sh
index b6977d4b390ec9a3f4f3b621db88908a2c40f689..0c801296567bbeb8fc8944ad50df03d88b9df5fd 100755
(executable)
--- a/
t/t1509-root-worktree.sh
+++ b/
t/t1509-root-worktree.sh
@@
-125,7
+125,7
@@
fi
ONE_SHA1=d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
test_expect_success 'setup' '
ONE_SHA1=d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
test_expect_success 'setup' '
- rm -rf /foo
+ rm -rf /foo
&&
mkdir /foo &&
mkdir /foo/bar &&
echo 1 > /foo/foome &&
mkdir /foo &&
mkdir /foo/bar &&
echo 1 > /foo/foome &&
@@
-218,7
+218,7
@@
unset GIT_WORK_TREE
test_expect_success 'go to /' 'cd /'
test_expect_success 'setup' '
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
echo "Initialized empty Git repository in /.git/" > expected &&
git init > result &&
test_cmp expected result
@@
-241,8
+241,8
@@
say "auto bare gitdir"
# DESTROYYYYY!!!!!
test_expect_success 'setup' '
# 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 &&
cd / &&
echo "Initialized empty Git repository in /" > expected &&
git init --bare > result &&