mirror of
https://github.com/git/git.git
synced 2026-02-07 08:15:23 +00:00
fixup! Work around a problem identified by BuildHive
This commit is contained in:
@@ -101,7 +101,10 @@ test_expect_success 'push with receive.fsckobjects' '
|
||||
git config transfer.fsckobjects false
|
||||
) &&
|
||||
test_must_fail git push --porcelain dst master:refs/heads/test >act &&
|
||||
test_cmp exp act || test ! -s act
|
||||
if ! test_cmp exp act
|
||||
then
|
||||
test ! -s act
|
||||
fi
|
||||
'
|
||||
|
||||
test_expect_success 'push with transfer.fsckobjects' '
|
||||
@@ -112,7 +115,10 @@ test_expect_success 'push with transfer.fsckobjects' '
|
||||
git config transfer.fsckobjects true
|
||||
) &&
|
||||
test_must_fail git push --porcelain dst master:refs/heads/test >act &&
|
||||
test_cmp exp act || test ! -s act
|
||||
if ! test_cmp exp act
|
||||
then
|
||||
test ! -s act
|
||||
fi
|
||||
'
|
||||
|
||||
test_done
|
||||
|
||||
Reference in New Issue
Block a user