diff tests/test-renames.t @ 1051:7decccb79f8a

tests: update test-renames.t for new git output
author Sean Farley <sean@farley.io>
date Thu, 17 Aug 2017 13:44:29 -0700
parents dd5afdfef35d
children 20b6df4e9434
line wrap: on
line diff
--- a/tests/test-renames.t
+++ b/tests/test-renames.t
@@ -46,7 +46,11 @@
   $ sed -e 's/path = gitsubmodule/path = gitsubmodule2/' .gitmodules > .gitmodules-new
   $ mv .gitmodules-new .gitmodules
   $ mv gitsubmodule gitsubmodule2
-  $ git add .gitmodules gitsubmodule2
+
+Previous versions of git did not produce any output but 2.14 changed the output
+to warn the user about submodules
+
+  $ git add .gitmodules gitsubmodule2 2>/dev/null
   $ git rm --cached gitsubmodule
   rm 'gitsubmodule'
   $ fn_git_commit -m 'move submodule'