summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorDebra Obondo <debraobondo@gmail.com>2022-11-04 15:05:52 +0000
committerTaylor Blau <me@ttaylorr.com>2022-11-04 17:58:23 -0400
commit7cccf5b6c98ccca1a21fccbf3cd60978c5f8257d (patch)
tree6d7b3daf53780c91a64acf67776a1d5b15aa7e0b /commit.c
parent63bba4fdd86d80ef061c449daa97a981a9be0792 (diff)
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 'commit.c')
0 files changed, 0 insertions, 0 deletions