Thread (1 message) 1 message, 1 author, 2026-01-04

Re: [PATCH] t1300: use test helpers instead of shell primitives

From: Junio C Hamano <hidden>
Date: 2026-01-04 02:39:45

pushkarkumarsingh1970@gmail.com writes:
From: Pushkar Singh <redacted>

Replace plain "test -f" checks with "test_path_is_file" and symbolic
link checks with "test_path_is_symlink". The test framework helpers
provide clearer diagnostics and better consistency across the test
suite.
The "test" is often implemented as a built-in utility in a shell,
but not necessarily so.  Either way, it is not correct to call it
"shell primitive", as unlike "if", "for", it is not.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help