]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5505-remote.sh
Merge branch 'es/test-chain-lint'
[thirdparty/git.git] / t / t5505-remote.sh
index 7ce1a28ef65e62f9f8ff0dd03ec6633ba627fc8e..9ab315424c4b71e1a431c511bddc02b9c0b4e49b 100755 (executable)
@@ -1329,7 +1329,6 @@ test_expect_success 'unqualified <dst> refspec DWIM and advice' '
        (
                cd test &&
                git tag -a -m "Some tag" some-tag main &&
-               exit_with=true &&
                for type in commit tag tree blob
                do
                        if test "$type" = "blob"
@@ -1345,9 +1344,8 @@ test_expect_success 'unqualified <dst> refspec DWIM and advice' '
                                push origin $oid:dst 2>err &&
                        test_i18ngrep "error: The destination you" err &&
                        test_i18ngrep ! "hint: Did you mean" err ||
-                       exit_with=false
-               done &&
-               $exit_with
+                       exit 1
+               done
        )
 '