@@ -332,25 +332,25 @@ test_expect_success 'shared index files expire after 2 weeks by default' '
332332 git update-index --add ten &&
333333 test $(ls .git/sharedindex.* | wc -l) -gt 2 &&
334334 just_under_2_weeks_ago=$((5-14*86400)) &&
335- test-chmtime =$just_under_2_weeks_ago .git/sharedindex.* &&
335+ test-tool chmtime =$just_under_2_weeks_ago .git/sharedindex.* &&
336336 : >eleven &&
337337 git update-index --add eleven &&
338338 test $(ls .git/sharedindex.* | wc -l) -gt 2 &&
339339 just_over_2_weeks_ago=$((-1-14*86400)) &&
340- test-chmtime =$just_over_2_weeks_ago .git/sharedindex.* &&
340+ test-tool chmtime =$just_over_2_weeks_ago .git/sharedindex.* &&
341341 : >twelve &&
342342 git update-index --add twelve &&
343343 test $(ls .git/sharedindex.* | wc -l) -le 2
344344'
345345
346346test_expect_success ' check splitIndex.sharedIndexExpire set to 16 days' '
347347 git config splitIndex.sharedIndexExpire "16.days.ago" &&
348- test-chmtime =$just_over_2_weeks_ago .git/sharedindex.* &&
348+ test-tool chmtime =$just_over_2_weeks_ago .git/sharedindex.* &&
349349 : >thirteen &&
350350 git update-index --add thirteen &&
351351 test $(ls .git/sharedindex.* | wc -l) -gt 2 &&
352352 just_over_16_days_ago=$((-1-16*86400)) &&
353- test-chmtime =$just_over_16_days_ago .git/sharedindex.* &&
353+ test-tool chmtime =$just_over_16_days_ago .git/sharedindex.* &&
354354 : >fourteen &&
355355 git update-index --add fourteen &&
356356 test $(ls .git/sharedindex.* | wc -l) -le 2
@@ -359,13 +359,13 @@ test_expect_success 'check splitIndex.sharedIndexExpire set to 16 days' '
359359test_expect_success ' check splitIndex.sharedIndexExpire set to "never" and "now"' '
360360 git config splitIndex.sharedIndexExpire never &&
361361 just_10_years_ago=$((-365*10*86400)) &&
362- test-chmtime =$just_10_years_ago .git/sharedindex.* &&
362+ test-tool chmtime =$just_10_years_ago .git/sharedindex.* &&
363363 : >fifteen &&
364364 git update-index --add fifteen &&
365365 test $(ls .git/sharedindex.* | wc -l) -gt 2 &&
366366 git config splitIndex.sharedIndexExpire now &&
367367 just_1_second_ago=-1 &&
368- test-chmtime =$just_1_second_ago .git/sharedindex.* &&
368+ test-tool chmtime =$just_1_second_ago .git/sharedindex.* &&
369369 : >sixteen &&
370370 git update-index --add sixteen &&
371371 test $(ls .git/sharedindex.* | wc -l) -le 2
0 commit comments