aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/t1100-commit-tree-options.sh2
-rwxr-xr-xt/t5000-tar-tree.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/t/t1100-commit-tree-options.sh b/t/t1100-commit-tree-options.sh
index e59f724f2..19a0ed4d2 100755
--- a/t/t1100-commit-tree-options.sh
+++ b/t/t1100-commit-tree-options.sh
@@ -32,7 +32,7 @@ test_expect_success \
GIT_COMMITTER_NAME="Committer Name" \
GIT_COMMITTER_EMAIL="committer@email" \
GIT_COMMITTER_DATE="2005-05-26 23:30" \
- TZ= git-commit-tree `cat treeid` >commitid 2>/dev/null'
+ TZ=GMT git-commit-tree `cat treeid` >commitid 2>/dev/null'
test_expect_success \
'read commit' \
diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh
index 6d72ed34c..abce66921 100755
--- 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 &&
- 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 \
@@ -50,7 +50,7 @@ test_expect_success \
test_expect_success \
'validate file modification time' \
- 'TZ= tar tvf b.tar a/a |
+ '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 &&