X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/334aed8ab42b9513af0f4458081abc033d66c535..840858594e8b48560541792b717a71dd802d5d80:/tests/t0108-patch.sh diff --git a/tests/t0108-patch.sh b/tests/t0108-patch.sh index 867d739..33675af 100755 --- a/tests/t0108-patch.sh +++ b/tests/t0108-patch.sh @@ -20,7 +20,7 @@ test_expect_success 'find `Subject:` line' ' ' test_expect_success 'find `cgit` signature' ' - tail -1 tmp | grep "^cgit" + tail -2 tmp | head -1 | grep "^cgit" ' test_expect_success 'find initial commit' ' @@ -32,7 +32,7 @@ test_expect_success 'generate patch for initial commit' ' ' test_expect_success 'find `cgit` signature' ' - tail -1 tmp | grep "^cgit" + tail -2 tmp | head -1 | grep "^cgit" ' test_done