]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1507-rev-parse-upstream.sh
Merge branch 'sb/object-store-lookup'
[thirdparty/git.git] / t / t1507-rev-parse-upstream.sh
index 93c77eac45321cb24823431c4d89dc393049edbf..349f6e10af9ea64a0e874b863f784feab4d12386 100755 (executable)
@@ -123,9 +123,9 @@ test_expect_success 'checkout -b new my-side@{u} forks from the same' '
 
 test_expect_success 'merge my-side@{u} records the correct name' '
 (
-       cd clone || exit
-       git checkout master || exit
-       git branch -D new ;# can fail but is ok
+       cd clone &&
+       git checkout master &&
+       test_might_fail git branch -D new &&
        git branch -t new my-side@{u} &&
        git merge -s ours new@{u} &&
        git show -s --pretty=tformat:%s >actual &&