git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] t5601: modernize test by using test_path_is_file

From
Aayushjaiswal12123@gmail.com <ayushjaiswal12123@gmail.com>
Date
Apr 7, 2025, 19:55 UTC
Message-ID
<20250407195505.86-1-ayushjaiswal12123@gmail.com>
From: Ayush Jaiswal <ayushjaiswal12123@gmail.com>

This patch updates a test in `t5601-clone.sh` to use `test_path_is_file` instead of manually comparing file output using `test_cmp`.

This aligns the test with Git’s modern test practices and improves readability.
The updated test was verified to pass using Git's test suite.
Ayush Jaiswal (1):
  t5601: modernize test by using test_path_is_file
 t/t5601-clone.sh | 948 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 948 insertions(+)
 create mode 100644 t/t5601-clone.sh
-- 
2.49.0-rc0
Next: ayushjaiswal12123@gmail.com
Message 1 of 3 in “t5601: modernize test by using test_path_is_file”
  1. 0/1 t5601: modernize test by using test_path_is_fileayushjaiswal12123@gmail.com, Apr 7, 2025
  2. 1/1 t5601: modernize test by using test_path_is_fileayushjaiswal12123@gmail.com, Apr 7, 2025
  3. Lucas Seiki OshiroApr 8, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.