Merge branch 'ss/t0081-test-path-is-file'

The test script 't0081-find-pack.sh' has been updated to use the
'test_path_is_file' helper instead of the raw 'test -f' command.

* ss/t0081-test-path-is-file:
  t0081: modernize the code testing whether a file exists
This commit is contained in:
Junio C Hamano committed 2026-11-03 07:32:37 -08:00
commit e1bb515788
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ test_expect_success 'repack everything into a single packfile' '
".git/objects/pack/pack-"*".pack") true ;;
*) false ;;
esac &&
test -f "$head_commit_pack" &&
test_path_is_file "$head_commit_pack" &&
# Everything is in the same pack
test "$head_commit_pack" = "$head_tree_pack" &&