t9104: fix test for following larger parents
[gitweb.git] / t / t4104-apply-boundary.sh
index 497afdc6b4903dab3e60cef056ca1cd1b389ced4..32e3b0ee0b9d00516602934353d92da35e8b19f1 100755 (executable)
@@ -95,10 +95,7 @@ do
                test_expect_success "apply $kind-patch $with context" '
                        cat original >victim &&
                        git update-index victim &&
-                       git apply --index '"$u$kind-patch.$with"' || {
-                               cat '"$kind-patch.$with"'
-                               (exit 1)
-                       } &&
+                       git apply --index '"$u$kind-patch.$with"' &&
                        test_cmp '"$kind"'-expect victim
                '
        done
@@ -113,10 +110,7 @@ do
        test_expect_success "apply non-git $kind-patch without context" '
                cat original >victim &&
                git update-index victim &&
-               git apply --unidiff-zero --index '"$kind-ng.without"' || {
-                       cat '"$kind-ng.without"'
-                       (exit 1)
-               } &&
+               git apply --unidiff-zero --index '"$kind-ng.without"' &&
                test_cmp '"$kind"'-expect victim
        '
 done