diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-25 13:29:00 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-25 13:29:00 +0900 |
commit | deb9845a0a180d27caf581da2bc0c46f5288db6f (patch) | |
tree | ef66e687a0d6ef6b571c875247cc003fedd600d2 /t/t2022-checkout-paths.sh | |
parent | 3d5a179ec01fa179a1f142c803a12d60062e9839 (diff) | |
parent | decf711fc13858087c87808e539d75f06bd9f7b7 (diff) | |
download | git-deb9845a0a180d27caf581da2bc0c46f5288db6f.tar.gz |
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/t2022-checkout-paths.sh')
-rwxr-xr-x | t/t2022-checkout-paths.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t2022-checkout-paths.sh b/t/t2022-checkout-paths.sh index e74d58b9e1..fc3eb43b89 100755 --- a/t/t2022-checkout-paths.sh +++ b/t/t2022-checkout-paths.sh @@ -73,8 +73,8 @@ test_expect_success 'do not touch files that are already up-to-date' ' git checkout HEAD -- file1 file2 && echo one >expect && test_cmp expect file1 && - echo "1000000000 file2" >expect && - test-tool chmtime -v +0 file2 >actual && + echo "1000000000" >expect && + test-tool chmtime --get file2 >actual && test_cmp expect actual ' |