aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-30 13:57:03 -0700
committerJunio C Hamano <gitster@pobox.com>2026-03-30 13:57:03 -0700
commit6cb924707f18cbf0ba5a162e92f878d31d2774ad (patch)
tree7422c74f2c1ac5afb321e650c7f7254e328c0eec /t
parenta1d7a8fef1114c5808c3c148661243b7ce0723b9 (diff)
parent638c7bfbbed1d003abdcdce7c51032c772f3303f (diff)
downloadgit-6cb924707f18cbf0ba5a162e92f878d31d2774ad.tar.xz
Merge branch 'ai/t2107-test-path-is-helpers'
Test cleanup. * ai/t2107-test-path-is-helpers: t2107: modernize path existence check
Diffstat (limited to 't')
-rwxr-xr-xt/t2107-update-index-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2107-update-index-basic.sh b/t/t2107-update-index-basic.sh
index cc72ead79f..3bffe5da8a 100755
--- a/t/t2107-update-index-basic.sh
+++ b/t/t2107-update-index-basic.sh
@@ -86,7 +86,7 @@ test_expect_success '.lock files cleaned up' '
# the_index.cache_changed is zero, rollback_lock_file fails
git update-index --refresh --verbose >out &&
test_must_be_empty out &&
- ! test -f .git/index.lock
+ test_path_is_missing .git/index.lock
)
'