X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3200-branch.sh;h=ea82424e471cd53cd08f91c77500412fa192f960;hb=44df2e297025d7a9af6c265dfefb687b09e2537a;hp=76903323af37ed1a96b5a11c27eb1e9d63a0e9ef;hpb=a2add8570c90e14e8e0cedae935091f100c758dc;p=git.git diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 76903323a..ea82424e4 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -22,7 +22,7 @@ test_expect_success \ test_expect_success \ 'git branch --help should not have created a bogus branch' ' - git branch --help /dev/null 2>/dev/null; + test_might_fail git branch --help /dev/null 2>/dev/null && test_path_is_missing .git/refs/heads/--help ' @@ -88,7 +88,7 @@ test_expect_success \ test_expect_success \ 'git branch -m n/n n should work' \ 'git branch -l n/n && - git branch -m n/n n + git branch -m n/n n && test_path_is_file .git/logs/refs/heads/n' test_expect_success 'git branch -m o/o o should fail when o/p exists' '