Merge branch 'dl/test-must-fail-fixes-5'

The effort to avoid using test_must_fail on non-git command continues.

* dl/test-must-fail-fixes-5:
  lib-submodule-update: pass 'test_must_fail' as an argument
  lib-submodule-update: prepend "git" to $command
  lib-submodule-update: consolidate --recurse-submodules
  lib-submodule-update: add space after function name
This commit is contained in:
Junio C Hamano
2020-07-06 22:09:18 -07:00
13 changed files with 121 additions and 59 deletions

View File

@ -12,10 +12,10 @@ test_submodule_switch_recursing_with_args "reset --keep"
test_submodule_forced_switch_recursing_with_args "reset --hard"
test_submodule_switch "git reset --keep"
test_submodule_switch "reset --keep"
test_submodule_switch "git reset --merge"
test_submodule_switch "reset --merge"
test_submodule_forced_switch "git reset --hard"
test_submodule_forced_switch "reset --hard"
test_done