{"thread":{"id":"5079","subject":"[PATCH 2/10] Fix annotate test script; notice when git-annotate fails.","startedAt":"2006-08-02T01:03:18Z","lastAt":"2006-08-02T01:03:18Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":10},"messages":[{"id":"24536","messageId":"00a601c6b5cf$712efb80$c47eedc1@ramsay1.demon.co.uk","threadId":"5079","inReplyTo":null,"subject":"[PATCH 2/10] Fix annotate test script; notice when git-annotate fails.","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsay1.demon.co.uk","sentAt":"2006-08-02T01:03:18Z","receivedAt":"2006-08-02T01:03:18Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"The t8001-annotate.sh test claimed all tests pass, when in fact\nthe git-annotate perl script failed to run! (prior to fixing the\nscript to work with perl 5.5).\n\nSigned-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>\n---\n t/annotate-tests.sh |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/t/annotate-tests.sh b/t/annotate-tests.sh\nindex 1148b02..077b4a5 100644\n--- a/t/annotate-tests.sh\n+++ b/t/annotate-tests.sh\n@@ -4,7 +4,8 @@ # sourced from t8001-annotate.sh and t80\n check_count () {\n \thead=\n \tcase \"$1\" in -h) head=\"$2\"; shift; shift ;; esac\n-\t$PROG file $head | perl -e '\n+\t$PROG file $head >.result || return 1\n+\tcat .result | perl -e '\n \t\tmy %expect = (@ARGV);\n \t\tmy %count = ();\n \t\twhile (<STDIN>) {\n-- \n1.4.1\n\n\nFrom b0c4383bf48d10bbd5229b51ad5d9230568add2c Mon Sep 17 00:00:00 2001\nFrom: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>\nDate: Sat, 29 Jul 2006 17:20:41 +0100\nSubject: [PATCH 2/10] Fix annotate test script; notice when git-annotate fails.\n\nThe t8001-annotate.sh test claimed all tests pass, when in fact\nthe git-annotate perl script failed to run! (prior to fixing the\nscript to work with perl 5.5).\n\nSigned-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>\n---\n t/annotate-tests.sh |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/t/annotate-tests.sh b/t/annotate-tests.sh\nindex 1148b02..077b4a5 100644\n--- a/t/annotate-tests.sh\n+++ b/t/annotate-tests.sh\n@@ -4,7 +4,8 @@ # sourced from t8001-annotate.sh and t80\n check_count () {\n \thead=\n \tcase \"$1\" in -h) head=\"$2\"; shift; shift ;; esac\n-\t$PROG file $head | perl -e '\n+\t$PROG file $head >.result || return 1\n+\tcat .result | perl -e '\n \t\tmy %expect = (@ARGV);\n \t\tmy %count = ();\n \t\twhile (<STDIN>) {\n-- \n1.4.1\n\n"}]}