Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix timestamp for test-tick
author
Junio C Hamano
<junkio@cox.net>
Sat, 6 Jan 2007 10:16:07 +0000
(
02:16
-0800)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 6 Jan 2007 10:17:06 +0000
(
02:17
-0800)
The earlier test timestamp was too old; I forgot that the bare
unixtime integer had to be after Jan 1, 2000. This changes
test_tick to use the git-epoch timestamp.
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/test-lib.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
16157b8
)
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index bf108d4226fabf847f42420547471dfb3cef8a8e..72ea2b259875e209752022f63bd57f9ca83a0cc4 100755
(executable)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-99,12
+99,12
@@
trap 'echo >&5 "FATAL: Unexpected exit with code $?"; exit 1' exit
test_tick () {
if test -z "${test_tick+set}"
then
- test_tick=
432630000
+ test_tick=
1112911993
else
test_tick=$(($test_tick + 60))
fi
- GIT_COMMITTER_DATE=
$test_tick
- GIT_AUTHOR_DATE=
$test_tick
+ GIT_COMMITTER_DATE=
"$test_tick -0700"
+ GIT_AUTHOR_DATE=
"$test_tick -0700"
export GIT_COMMITTER_DATE GIT_AUTHOR_DATE
}