diff options
Diffstat (limited to 't/t5545-push-options.sh')
-rwxr-xr-x | t/t5545-push-options.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t5545-push-options.sh b/t/t5545-push-options.sh index 58c7add..fb13549 100755 --- a/t/t5545-push-options.sh +++ b/t/t5545-push-options.sh @@ -5,6 +5,9 @@ test_description='pushing to a repository using push options' GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +GIT_TEST_FATAL_REGISTER_SUBMODULE_ODB=1 +export GIT_TEST_FATAL_REGISTER_SUBMODULE_ODB + . ./test-lib.sh mk_repo_pair () { @@ -116,6 +119,7 @@ test_expect_success 'push options and submodules' ' test_commit -C parent one && git -C parent push --mirror up && + test_config_global protocol.file.allow always && git -C parent submodule add ../upstream workbench && git -C parent/workbench remote add up ../../upstream && git -C parent commit -m "add submodule" && @@ -248,7 +252,7 @@ test_expect_success 'push option denied properly by http server' ' mk_http_pair false && test_commit -C test_http_clone one && test_must_fail git -C test_http_clone push --push-option=asdf origin main 2>actual && - test_i18ngrep "the receiving end does not support push options" actual && + test_grep "the receiving end does not support push options" actual && git -C test_http_clone push origin main ' |