mirror of
https://github.com/git/git.git
synced 2024-10-30 05:47:53 +01:00
t5516-fetch-push: fix broken &&-chain
b2dc968e60
(t5516: refactor oddball tests, 2008-11-07) accidentaly
broke the &&-chain in the test 'push does not update local refs on
failure', but since it was in a subshell, chain-lint couldn't notice
it.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
cfb482b6c3
commit
f6b82970aa
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ test_expect_success 'push does not update local refs on failure' '
|
|||
chmod +x testrepo/.git/hooks/pre-receive &&
|
||||
(
|
||||
cd child &&
|
||||
git pull .. master
|
||||
git pull .. master &&
|
||||
test_must_fail git push &&
|
||||
test $(git rev-parse master) != \
|
||||
$(git rev-parse remotes/origin/master)
|
||||
|
|
Loading…
Reference in a new issue