]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4205-log-pretty-formats.sh
t4000-t4999: detect and signal failure within loop
[thirdparty/git.git] / t / t4205-log-pretty-formats.sh
index 5865daa8f8d2234f0379d25bda47d5d3142f3fc8..f4ce7c59a4cc63b7e5607aec91316ba6abf12cf9 100755 (executable)
@@ -976,7 +976,7 @@ test_expect_success '%(describe) vs git describe' '
                else
                        : >expect-contains-bad
                fi &&
-               echo "$hash $desc"
+               echo "$hash $desc" || return 1
        done >expect &&
        test_path_exists expect-contains-good &&
        test_path_exists expect-contains-bad &&