Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH v3] [OUTREACHY] t7001-mv.sh : Use test_path_is_* functions in test script #1372

Closed
wants to merge 1 commit into from

Commits on Nov 4, 2022

  1. 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>
    fobiasic07 committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    0417619 View commit details
    Browse the repository at this point in the history