projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Retire git-clone-dumb-http.
[git.git]
/
t
/
t5000-tar-tree.sh
diff --git
a/t/t5000-tar-tree.sh
b/t/t5000-tar-tree.sh
old mode 100644
(file)
new mode 100755
(executable)
index
fdd9957
..
abce669
--- a/
t/t5000-tar-tree.sh
+++ b/
t/t5000-tar-tree.sh
@@
-41,7
+41,7
@@
test_expect_success \
find a -type l | xargs git-update-cache --add &&
treeid=`git-write-tree` &&
echo $treeid >treeid &&
find a -type l | xargs git-update-cache --add &&
treeid=`git-write-tree` &&
echo $treeid >treeid &&
- TZ= GIT_COMMITTER_DATE="2005-05-27 22:00:00" \
+ TZ=
GMT
GIT_COMMITTER_DATE="2005-05-27 22:00:00" \
git-commit-tree $treeid </dev/null >.git/HEAD'
test_expect_success \
git-commit-tree $treeid </dev/null >.git/HEAD'
test_expect_success \
@@
-50,8
+50,9
@@
test_expect_success \
test_expect_success \
'validate file modification time' \
test_expect_success \
'validate file modification time' \
- 'tar tvf b.tar a/a |
- awk \{print\ \$4,\ length\(\$5\)\<7\ ?\ \$5\":00\"\ :\ \$5\} >b.mtime &&
+ 'TZ=GMT tar tvf b.tar a/a |
+ awk \{print\ \$4,\ \(length\(\$5\)\<7\)\ ?\ \$5\":00\"\ :\ \$5\} \
+ >b.mtime &&
echo "2005-05-27 22:00:00" >expected.mtime &&
diff expected.mtime b.mtime'
echo "2005-05-27 22:00:00" >expected.mtime &&
diff expected.mtime b.mtime'