• Johannes Sixt's avatar
    tests: use test_ln_s_add to remove SYMLINKS prerequisite (trivial cases) · 889c6f0e
    Johannes Sixt authored
    There are many instances where the treatment of symbolic links in the
    object model and the algorithms are tested, but where it is not
    necessary to actually have a symbolic link in the worktree. Make
    adjustments to the tests and remove the SYMLINKS prerequisite when
    appropriate in trivial cases, where "trivial" means:
    
    - merely a replacement of 'ln -s a b && git add b' by test_ln_s_add
      is needed;
    
    - a test for symbolic link on the file system can be split off (and
      remains protected by SYMLINKS);
    
    - existing code is equivalent to test_ln_s_add.
    Signed-off-by: default avatarJohannes Sixt <j6t@kdbg.org>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    889c6f0e
t8006-blame-textconv.sh 4.35 KB