We already expected update to print a 'not initialized' error message
in this situation. It seems reasonable that it should also exit with
a non-zero status.
Signed-off-by: W. Trevor King <wking@tremily.us>
git config --remove-section submodule.example &&
test_must_fail git config submodule.example.url &&
- git submodule update init > update.out &&
+ test_must_fail git submodule update init > update.out &&
cat update.out &&
test_i18ngrep "not initialized" update.out &&
test_must_fail git rev-parse --resolve-git-dir init/.git &&