diff options
| author | Debra Obondo <debraobondo@gmail.com> | 2022-11-04 15:05:52 +0000 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2022-11-04 17:58:23 -0400 |
| commit | 7cccf5b6c98ccca1a21fccbf3cd60978c5f8257d (patch) | |
| tree | 6d7b3daf53780c91a64acf67776a1d5b15aa7e0b /builtin/notes.c | |
| parent | The eighth batch (diff) | |
| download | git-7cccf5b6c98ccca1a21fccbf3cd60978c5f8257d.tar.gz git-7cccf5b6c98ccca1a21fccbf3cd60978c5f8257d.zip | |
t7001-mv.sh: modernizing test script using functions
Test script to verify the presence/absence of files, paths, directories,
symlinks and other features in 'git mv' command are using the command
format:
'test (-e|f|d|h|...)'
Replace them with helper functions of format:
'test_path_is_*'
Replacing idiomatic helper functions:
'! test_path_is_*'
with
'test_path_is_missing'
This uses values of 'test_path_bar' in place of '! test_path_foo' to
bring in the helpful factor of indicating the failure of tests after the
mv command has been used, that is, it echoes if the feature/test_path
exists.
Signed-off-by: Debra Obondo <debraobondo@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'builtin/notes.c')
0 files changed, 0 insertions, 0 deletions
