mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-03 05:12:56 -05:00
t9200: replace test -f with modern path helper
Replace old style 'test -f' with helper 'test_path_is_file', which make debugging a failing test easier by loudly reporting what expectation was not met. Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
6523589a2c
commit
9072576123
@@ -307,7 +307,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'
|
||||
|
||||
Reference in New Issue
Block a user