submodule: properly recurse for read-tree and checkout
[gitweb.git] / t / t2013-checkout-submodule.sh
index 6847f7582234d656563f867976a64142a3a01621..aa3522336966749fbea6e8dbe6d8f32cf711a021 100755 (executable)
@@ -63,6 +63,11 @@ test_expect_success '"checkout <submodule>" honors submodule.*.ignore from .git/
        ! test -s actual
 '
 
+KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1
+test_submodule_switch_recursing "git checkout --recurse-submodules"
+
+test_submodule_forced_switch_recursing "git checkout -f --recurse-submodules"
+
 test_submodule_switch "git checkout"
 
 test_submodule_forced_switch "git checkout -f"