diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-25 06:29:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-25 06:29:00 +0200 |
commit | deb9845a0a180d27caf581da2bc0c46f5288db6f (patch) | |
tree | ef66e687a0d6ef6b571c875247cc003fedd600d2 /t/t6501-freshen-objects.sh | |
parent | Merge branch 'js/t5404-path-fix' (diff) | |
parent | t/helper: 'test-chmtime (--get|-g)' to print only the mtime (diff) | |
download | git-deb9845a0a180d27caf581da2bc0c46f5288db6f.tar.xz git-deb9845a0a180d27caf581da2bc0c46f5288db6f.zip |
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/t6501-freshen-objects.sh')
-rwxr-xr-x | t/t6501-freshen-objects.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/t/t6501-freshen-objects.sh b/t/t6501-freshen-objects.sh index 765cced60b..033871ee5f 100755 --- a/t/t6501-freshen-objects.sh +++ b/t/t6501-freshen-objects.sh @@ -72,8 +72,7 @@ for repack in '' true; do ' test_expect_success "simulate time passing ($title)" ' - find .git/objects -type f | - xargs test-tool chmtime -v -86400 + test-tool chmtime --get -86400 $(find .git/objects -type f) ' test_expect_success "start writing new commit with old blob ($title)" ' @@ -103,8 +102,7 @@ for repack in '' true; do test_expect_success "abandon objects again ($title)" ' git reset --hard HEAD^ && - find .git/objects -type f | - xargs test-tool chmtime -v -86400 + test-tool chmtime --get -86400 $(find .git/objects -type f) ' test_expect_success "start writing new commit with same tree ($title)" ' |