Merge branch 'ch/subtree-build'
[gitweb.git] / t / lib-submodule-update.sh
index e90ec7908771788d0d7723d2dd729b6defb4bb7f..016391723c09491e53ebf4e0b69972783c7bc491 100755 (executable)
@@ -781,7 +781,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
                )