mirror of
https://github.com/git/git.git
synced 2026-02-13 11:21:10 +00:00
t5800: point out that deleting branches does not work
This test actually breaks the repositories involved somehow, so it is not enabled by default.
This commit is contained in:
committed by
Pat Thoyts
parent
fb830e2911
commit
7bebbc7940
@@ -138,7 +138,7 @@ test_expect_success 'push new branch by name' '
|
||||
compare_refs clone HEAD server refs/heads/new-name
|
||||
'
|
||||
|
||||
test_expect_failure 'push new branch with old content' '
|
||||
test_expect_success 'push new branch with old content' '
|
||||
(cd clone &&
|
||||
git checkout -b existing &&
|
||||
git push origin existing
|
||||
@@ -146,6 +146,17 @@ test_expect_failure 'push new branch with old content' '
|
||||
compare_refs clone refs/heads/existing server refs/heads/existing
|
||||
'
|
||||
|
||||
test_expect_failure BROKEN 'delete branch' '
|
||||
(cd clone &&
|
||||
git checkout -b delete-me &&
|
||||
echo content >>file &&
|
||||
git commit -a -m eight &&
|
||||
git push origin delete-me
|
||||
git push origin :delete-me) &&
|
||||
test_must_fail git --git-dir="server/.git" rev-parse --verify delete-me
|
||||
'
|
||||
|
||||
|
||||
test_expect_failure 'push new branch with old:new refspec' '
|
||||
(cd clone &&
|
||||
git push origin new-name:new-refspec
|
||||
|
||||
Reference in New Issue
Block a user