Message ID | pull.1691.v2.git.git.1711052946.gitgitgadget@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | t9803-git-p4-shell-metachars.sh: update to use test_path_* functions | expand |
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>