]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5518-fetch-exit-status.sh
Merge branch 'ab/tests-various-fixup'
[thirdparty/git.git] / t / t5518-fetch-exit-status.sh
index a94d0744d08d19d6d011e23020b9168222b49f91..5c4ac2556e7820f41285b5f653a5f61cc5f75846 100755 (executable)
@@ -5,7 +5,7 @@
 
 test_description='fetch exit status test'
 
-GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
 . ./test-lib.sh
@@ -20,20 +20,20 @@ test_expect_success setup '
        echo side >file &&
        git commit -a -m side &&
 
-       git checkout master &&
+       git checkout main &&
        echo next >file &&
        git commit -a -m next
 '
 
 test_expect_success 'non-fast-forward fetch' '
 
-       test_must_fail git fetch . master:side
+       test_must_fail git fetch . main:side
 
 '
 
 test_expect_success 'forced update' '
 
-       git fetch . +master:side
+       git fetch . +main:side
 
 '