diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-04-15 13:50:14 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-15 13:50:14 -0700 |
| commit | f3f00d93a10ac3f000c56e73d646e34fe7b456d1 (patch) | |
| tree | 06c571c53ebec518516ab702b558e6404dc4fdf2 | |
| parent | Merge branch 'jk/zlib-inflate-fixes' (diff) | |
| parent | t1403: verify that path exists and is a file (diff) | |
| download | git-f3f00d93a10ac3f000c56e73d646e34fe7b456d1.tar.gz git-f3f00d93a10ac3f000c56e73d646e34fe7b456d1.zip | |
Merge branch 'md/t1403-path-is-file'
Test tweak.
* md/t1403-path-is-file:
t1403: verify that path exists and is a file
| -rwxr-xr-x | t/t1403-show-ref.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1403-show-ref.sh b/t/t1403-show-ref.sh index 9d698b3cc3..9da3650e91 100755 --- a/t/t1403-show-ref.sh +++ b/t/t1403-show-ref.sh @@ -196,7 +196,7 @@ test_expect_success 'show-ref --verify with dangling ref' ' remove_object() { file=$(sha1_file "$*") && - test -e "$file" && + test_path_is_file "$file" && rm -f "$file" } && |
