Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Use test-chmtime -v instead of perl in t5000 to get mtime of a file
author
Alex Riesen
<raa.lkml@gmail.com>
Thu, 30 Oct 2008 10:20:27 +0000
(11:20 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 31 Oct 2008 07:34:41 +0000
(
00:34
-0700)
The test was broken on admittedly broken combination of Windows, Cygwin,
and ActiveState Perl.
Signed-off-by: Alex Riesen <ariesen@harmanbecker.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5000-tar-tree.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
0ea9ca0
)
diff --git
a/t/t5000-tar-tree.sh
b/t/t5000-tar-tree.sh
index 0f27d7304964e071bbaa682b183a307013150789..c942c8be85339157e22f755d8fc94e64efaee4dd 100755
(executable)
--- a/
t/t5000-tar-tree.sh
+++ b/
t/t5000-tar-tree.sh
@@
-90,7
+90,7
@@
test_expect_success \
'validate file modification time' \
'mkdir extract &&
"$TAR" xf b.tar -C extract a/a &&
-
perl -e '\''print((stat("extract/a/a"))[9], "\n")'\''
>b.mtime &&
+
test-chmtime -v +0 extract/a/a |cut -f 1
>b.mtime &&
echo "1117231200" >expected.mtime &&
diff expected.mtime b.mtime'