summaryrefslogtreecommitdiff
path: root/t/t6300-for-each-ref.sh
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-09-03 21:48:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-09-03 22:36:57 (GMT)
commitf3c1ba502628cf0b6e8674f07c3850b21f365965 (patch)
tree14b35f092bc03a4841b5a5526248a755331e747a /t/t6300-for-each-ref.sh
parentf95cecf43335dd8e80e954c2f998dc0e8b0dd070 (diff)
downloadgit-f3c1ba502628cf0b6e8674f07c3850b21f365965.zip
git-f3c1ba502628cf0b6e8674f07c3850b21f365965.tar.gz
git-f3c1ba502628cf0b6e8674f07c3850b21f365965.tar.bz2
t6300: add test for "raw" date format
Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6300-for-each-ref.sh')
-rwxr-xr-xt/t6300-for-each-ref.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh
index c14c457..c9b6e6d 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 \