Merge branch 'bc/more-git-var'
[alt-git.git] / t / t1013-read-tree-submodule.sh
blobbfc90d4cf272e8a8d6b6d517787bed0f074f4e82
1 #!/bin/sh
3 test_description='read-tree can handle submodules'
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
8 KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1
10 test_submodule_switch_recursing_with_args "read-tree -u -m"
12 test_submodule_forced_switch_recursing_with_args "read-tree -u --reset"
14 test_submodule_switch "read-tree -u -m"
16 test_submodule_forced_switch "read-tree -u --reset"
18 test_done