pretty: add support for separator option in %(trailers)
[gitweb.git] / t / t1507-rev-parse-upstream.sh
index f121890cc24e16948eb185de7c495898cbd4d9f3..fa3e4996418d6d78afa31e9be19b6c77b22cd819 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 &&