diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-03-30 13:57:03 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-30 13:57:03 -0700 |
| commit | 6cb924707f18cbf0ba5a162e92f878d31d2774ad (patch) | |
| tree | 7422c74f2c1ac5afb321e650c7f7254e328c0eec /t | |
| parent | a1d7a8fef1114c5808c3c148661243b7ce0723b9 (diff) | |
| parent | 638c7bfbbed1d003abdcdce7c51032c772f3303f (diff) | |
| download | git-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-x | t/t2107-update-index-basic.sh | 2 |
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 ) ' |
