{"thread":{"id":"6243","subject":"[PATCH 1/5] Fix timestamp for test-tick","startedAt":"2007-01-06T10:16:07Z","lastAt":"2007-01-06T10:16:07Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":5},"messages":[{"id":"30960","messageId":"7vbqlc795k.fsf@assigned-by-dhcp.cox.net","threadId":"6243","inReplyTo":null,"subject":"[PATCH 1/5] Fix timestamp for test-tick","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-01-06T10:16:07Z","receivedAt":"2007-01-06T10:16:07Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"The earlier test timestamp was too old; I forgot that the bare\nunixtime integer had to be after Jan 1, 2000.  This changes\ntest_tick to use the git-epoch timestamp.\n\nSigned-off-by: Junio C Hamano <junkio@cox.net>\n---\n t/test-lib.sh |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\ndiff --git a/t/test-lib.sh b/t/test-lib.sh\nindex bf108d4..72ea2b2 100755\n--- a/t/test-lib.sh\n+++ b/t/test-lib.sh\n@@ -99,12 +99,12 @@ trap 'echo >&5 \"FATAL: Unexpected exit with code $?\"; exit 1' exit\n test_tick () {\n \tif test -z \"${test_tick+set}\"\n \tthen\n-\t\ttest_tick=432630000\n+\t\ttest_tick=1112911993\n \telse\n \t\ttest_tick=$(($test_tick + 60))\n \tfi\n-\tGIT_COMMITTER_DATE=$test_tick\n-\tGIT_AUTHOR_DATE=$test_tick\n+\tGIT_COMMITTER_DATE=\"$test_tick -0700\"\n+\tGIT_AUTHOR_DATE=\"$test_tick -0700\"\n \texport GIT_COMMITTER_DATE GIT_AUTHOR_DATE\n }\n \n-- \n1.5.0.rc0.ge0f6\n"}]}