summaryrefslogtreecommitdiff
path: root/t/t6501-freshen-objects.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-04-25 04:29:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-25 04:29:00 (GMT)
commitdeb9845a0a180d27caf581da2bc0c46f5288db6f (patch)
treeef66e687a0d6ef6b571c875247cc003fedd600d2 /t/t6501-freshen-objects.sh
parent3d5a179ec01fa179a1f142c803a12d60062e9839 (diff)
parentdecf711fc13858087c87808e539d75f06bd9f7b7 (diff)
downloadgit-deb9845a0a180d27caf581da2bc0c46f5288db6f.zip
git-deb9845a0a180d27caf581da2bc0c46f5288db6f.tar.gz
git-deb9845a0a180d27caf581da2bc0c46f5288db6f.tar.bz2
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-xt/t6501-freshen-objects.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/t/t6501-freshen-objects.sh b/t/t6501-freshen-objects.sh
index 765cced..033871e 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)" '