Merge branch 'ps/t9200-test-path-is-helpers' into seen

* ps/t9200-test-path-is-helpers:
  t9200: replace test -f/-d with modern path helpers
This commit is contained in:
Junio C Hamano
2026-03-09 16:19:56 -07:00

View File

@@ -31,7 +31,7 @@ export CVSROOT CVSWORK GIT_DIR
rm -rf "$CVSROOT" "$CVSWORK"
cvs init &&
test -d "$CVSROOT" &&
test_path_is_dir "$CVSROOT" &&
cvs -Q co -d "$CVSWORK" . &&
echo >empty &&
git add empty &&
@@ -303,7 +303,7 @@ test_expect_success 're-commit a removed filename which remains in CVS attic' '
git commit -m "Added attic_gremlin" &&
git cvsexportcommit -w "$CVSWORK" -c HEAD &&
(cd "$CVSWORK" && cvs -Q update -d) &&
test -f "$CVSWORK/attic_gremlin"
test_path_is_file "$CVSWORK/attic_gremlin"
'
# the state of the CVS sandbox may be indeterminate for ' space'