3 test_description
='merge can handle submodules'
5 TEST_PASSES_SANITIZE_LEAK
=true
7 .
"$TEST_DIRECTORY"/lib-submodule-update.sh
9 # merges without conflicts
10 test_submodule_switch
"merge"
12 test_submodule_switch
"merge --ff"
14 test_submodule_switch
"merge --ff-only"
16 if test "$GIT_TEST_MERGE_ALGORITHM" != ort
18 KNOWN_FAILURE_NOFF_MERGE_DOESNT_CREATE_EMPTY_SUBMODULE_DIR
=1
19 KNOWN_FAILURE_NOFF_MERGE_ATTEMPTS_TO_MERGE_REMOVED_SUBMODULE_FILES
=1
21 test_submodule_switch
"merge --no-ff"