t6300: add test for "raw" date format
authorJohn Keeping <john@keeping.me.uk>
Thu, 3 Sep 2015 21:48:57 +0000 (22:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Sep 2015 22:36:57 +0000 (15:36 -0700)
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6300-for-each-ref.sh
index c14c4578286b7436315693ccd5edb70d2042094b..c9b6e6d472e98bf18ed85357910665cf780c9236 100755 (executable)
@@ -215,6 +215,10 @@ test_expect_success 'Check format "rfc2822" date fields output' '
                "Mon, 3 Jul 2006 17:18:45 +0200"
 '
 
                "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 \
 test_expect_success 'Check format of strftime date fields' '
        echo "my date is 2006-07-03" >expected &&
        git for-each-ref \