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

[PATCH v2 2/2] t9803: update commit messages and description

From
SGSanchit Jindal via GitGitGadget <gitgitgadget@gmail.com>
Date
Mar 21, 2024, 20:29 UTC
Message-ID
<e25b5f928a9427de57ff1963d9fb4bca2b86e829.1711052946.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.1691.v2.git.git.1711052946.gitgitgadget@gmail.com>
From: Sanchit Jindal <sanchit1053@gmail.com>

Using the `test` function directly does not provide any diagnostic information to the user, in case of a failure.

This patch replace the `test` function with the helper functions defined that will call the corresponding test function and log an error message if the assert fails

Making the replacements
- `test -e` -> test_path_exists,
- `test ! -e` -> test_path_is_missing
- `test -f` -> test_path_is_file
Signed-off-by: Sanchit Jindal <sanchit1053@gmail.com>
-- 
gitgitgadget
Previous: sanchit1053 via GitGitGadget
Message 9 of 9 in “t9803-git-p4-shell-metachars.sh: update to use test_path_* functions”
  1. 0/2 t9803-git-p4-shell-metachars.sh: update to use test_path_* functionsSanchit Jindal via GitGitGadget, Mar 21, 2024
  2. 1/2 t9803-git-p4-shell-metachars.sh: update to use test_path_* functionssanchit1053 via GitGitGadget, Mar 21, 2024
  3. 2/2 t9803: update commit messages and descriptionSanchit Jindal via GitGitGadget, Mar 21, 2024
  4. Eric SunshineMar 21, 2024
  5. Sanchit JindalMar 21, 2024
  6. Junio C HamanoMar 21, 2024
  7. 0/2 t9803-git-p4-shell-metachars.sh: update to use test_path_* functionsSanchit Jindal via GitGitGadget, Mar 21, 2024
  8. 1/2 t9803-git-p4-shell-metachars.sh: update to use test_path_* functionssanchit1053 via GitGitGadget, Mar 21, 2024
  9. 2/2 t9803: update commit messages and descriptionSanchit Jindal via GitGitGadget, Mar 21, 2024

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.