The eleventh batch
[git/gitster.git] / t / t1013-read-tree-submodule.sh
blobcf8b94ebedbdd2ce780550d6217e7223bcf20d8b
1 #!/bin/sh
3 test_description='read-tree can handle submodules'
5 TEST_PASSES_SANITIZE_LEAK=true
6 . ./test-lib.sh
7 . "$TEST_DIRECTORY"/lib-submodule-update.sh
9 KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1
11 test_submodule_switch_recursing_with_args "read-tree -u -m"
13 test_submodule_forced_switch_recursing_with_args "read-tree -u --reset"
15 test_submodule_switch "read-tree -u -m"
17 test_submodule_forced_switch "read-tree -u --reset"
19 test_done