]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6600-test-reach.sh
t6000-t9999: detect and signal failure within loop
[thirdparty/git.git] / t / t6600-test-reach.sh
index 3d7a62ddab61729d37c183fe327a9d8997f96c1c..338a9c46a24b02caf471da4afb1cff14a75b6f2f 100755 (executable)
@@ -32,7 +32,7 @@ test_expect_success 'setup' '
        do
                test_commit "1-$i" &&
                git branch -f commit-1-$i &&
-               git tag -a -m "1-$i" tag-1-$i commit-1-$i
+               git tag -a -m "1-$i" tag-1-$i commit-1-$i || return 1
        done &&
        for j in $(test_seq 1 9)
        do
@@ -46,7 +46,7 @@ test_expect_success 'setup' '
                do
                        git merge commit-$j-$i -m "$x-$i" &&
                        git branch -f commit-$x-$i &&
-                       git tag -a -m "$x-$i" tag-$x-$i commit-$x-$i
+                       git tag -a -m "$x-$i" tag-$x-$i commit-$x-$i || return 1
                done
        done &&
        git commit-graph write --reachable &&