]>
Commit | Line | Data |
---|---|---|
48294e1d JL |
1 | #!/bin/sh |
2 | ||
3 | test_description='read-tree can handle submodules' | |
4 | ||
5 | . ./test-lib.sh | |
6 | . "$TEST_DIRECTORY"/lib-submodule-update.sh | |
7 | ||
25804914 | 8 | KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1 |
25804914 | 9 | |
17f38cb7 | 10 | test_submodule_switch_recursing_with_args "read-tree -u -m" |
25804914 | 11 | |
17f38cb7 | 12 | test_submodule_forced_switch_recursing_with_args "read-tree -u --reset" |
25804914 | 13 | |
aa06180a | 14 | test_submodule_switch "read-tree -u -m" |
48294e1d | 15 | |
aa06180a | 16 | test_submodule_forced_switch "read-tree -u --reset" |
48294e1d JL |
17 | |
18 | test_done |