diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2018-05-10 17:01:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-11 06:32:53 +0300 |
commit | f6b82970aa8b81dbaf9242c5a0b33dd8a08431b7 (patch) | |
tree | efc93ef802116d7f5b73e460698d7b40fa410683 /t | |
parent | cfb482b6c33508c3a14b721b1e48a881fcbe7146 (diff) |
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t5516-fetch-push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh index 0ed3ad0c7b..013fb102d2 100755 --- a/t/t5516-fetch-push.sh +++ b/t/t5516-fetch-push.sh @@ -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) |