Diff options
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0109-patch.sh20
1 file changed, 0 insertions, 20 deletions
diff --git a/tests/t0109-patch.sh b/tests/t0109-patch.sh
index 6840f0c..c90796d 100755
--- a/tests/t0109-patch.sh
+++ b/tests/t0109-patch.sh
@@ -22,22 +22,6 @@ test_expect_success 'generate foo/patch' '
cgit_query "url=foo/patch" >tmp
'
-test_expect_success 'find `From:` line' '
- grep "^From: " tmp
-'
-
-test_expect_success 'find `Date:` line' '
- grep "^Date: " tmp
-'
-
-test_expect_success 'find `Subject:` line' '
- grep "^Subject: commit 5" tmp
-'
-
-test_expect_success 'find `cgit` signature' '
- check_cgit_signature
-'
-
test_expect_success 'compare with output of git-format-patch(1)' '
git --git-dir="$PWD/repos/foo/.git" format-patch --subject-prefix="" \
--signature="cgit" --stdout HEAD^ >tmp2 &&
@@ -63,10 +47,6 @@ test_expect_success 'generate patches for multiple commits' '
cgit_query "url=foo/patch&id=$id&id2=$id2" >tmp
'
-test_expect_success 'find `cgit` signature on the range' '
- check_cgit_signature
-'
-
test_expect_success 'compare the range with git-format-patch(1)' '
git --git-dir="$PWD/repos/foo/.git" format-patch --subject-prefix="" \
-N --signature="cgit" --stdout HEAD~3..HEAD >tmp2 &&