From: John Keeping Date: Thu, 3 Sep 2015 21:48:57 +0000 (+0100) Subject: t6300: add test for "raw" date format X-Git-Tag: v2.7.0-rc0~142^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f3c1ba502628cf0b6e8674f07c3850b21f365965 t6300: add test for "raw" date format Signed-off-by: John Keeping Signed-off-by: Junio C Hamano --- diff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh index c14c457828..c9b6e6d472 100755 --- a/t/t6300-for-each-ref.sh +++ b/t/t6300-for-each-ref.sh @@ -215,6 +215,10 @@ test_expect_success 'Check format "rfc2822" date fields output' ' "Mon, 3 Jul 2006 17:18:45 +0200" ' +test_expect_success 'Check format "raw" date fields output' ' + test_date raw "1151939923 +0200" "1151939924 +0200" "1151939925 +0200" +' + test_expect_success 'Check format of strftime date fields' ' echo "my date is 2006-07-03" >expected && git for-each-ref \