]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4018-diff-funcname.sh
t4000-t4999: detect and signal failure within loop
[thirdparty/git.git] / t / t4018-diff-funcname.sh
index 740696c8f7f2c437ce9260ed30e4ba2b563a30ab..42a2b9a13b7a5bd6cf28cfbe9bbfb9a5a3e5f3e6 100755 (executable)
@@ -75,7 +75,7 @@ test_expect_success 'last regexp must not be negated' '
 test_expect_success 'setup hunk header tests' '
        for i in $diffpatterns
        do
-               echo "$i-* diff=$i"
+               echo "$i-* diff=$i" || return 1
        done > .gitattributes &&
 
        # add all test files to the index