diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-25 07:29:00 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-25 07:29:00 +0300 |
commit | deb9845a0a180d27caf581da2bc0c46f5288db6f (patch) | |
tree | ef66e687a0d6ef6b571c875247cc003fedd600d2 /t/t5000-tar-tree.sh | |
parent | 3d5a179ec01fa179a1f142c803a12d60062e9839 (diff) | |
parent | decf711fc13858087c87808e539d75f06bd9f7b7 (diff) |
Merge branch 'ps/test-chmtime-get'
Test cleanup.
* ps/test-chmtime-get:
t/helper: 'test-chmtime (--get|-g)' to print only the mtime
Diffstat (limited to 't/t5000-tar-tree.sh')
-rwxr-xr-x | t/t5000-tar-tree.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh index af4d9b8876..2a97b27b0a 100755 --- a/t/t5000-tar-tree.sh +++ b/t/t5000-tar-tree.sh @@ -192,7 +192,7 @@ test_expect_success \ 'validate file modification time' \ 'mkdir extract && "$TAR" xf b.tar -C extract a/a && - test-tool chmtime -v +0 extract/a/a |cut -f 1 >b.mtime && + test-tool chmtime --get extract/a/a >b.mtime && echo "1117231200" >expected.mtime && test_cmp expected.mtime b.mtime' |