Merge branch 'en/rebase-consistency'
[gitweb.git] / t / lib-submodule-update.sh
index aa5ac03325a8c5038e9b568fceb1e953f4a0dcf4..be78cdc1ff0aeaa21feaccc40cb439eb72837b7f 100755 (executable)
@@ -782,7 +782,8 @@ test_submodule_recursing_with_args_common() {
                (
                        cd submodule_update &&
                        git branch -t invalid_sub1 origin/invalid_sub1 &&
-                       test_must_fail $command invalid_sub1 &&
+                       test_must_fail $command invalid_sub1 2>err &&
+                       test_i18ngrep sub1 err &&
                        test_superproject_content origin/add_sub1 &&
                        test_submodule_content sub1 origin/add_sub1
                )