1
0
mirror of https://github.com/git/git.git synced 2024-10-20 21:38:38 +02:00

Merge branch 'sy/t0001-use-path-is-helper'

Test modernization.

* sy/t0001-use-path-is-helper:
  t0001: replace "test [-d|-f]" with test_path_is_* functions
This commit is contained in:
Junio C Hamano 2022-02-23 16:58:03 -08:00
commit fb5e8587a0

@ -6,7 +6,8 @@ TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
check_config () {
if test -d "$1" && test -f "$1/config" && test -d "$1/refs"
if test_path_is_dir "$1" &&
test_path_is_file "$1/config" && test_path_is_dir "$1/refs"
then
: happy
else