Merge branch 'dm/add-i-edit-abort'
[gitweb.git] / t / t7400-submodule-basic.sh
index a74f24c0db69aa964aaf0e83f8ab978ffc0cc7a2..b8cb2df6670a18ebf54fecbb97a48d0c07a06e2b 100755 (executable)
@@ -240,4 +240,11 @@ test_expect_success 'ls-files gracefully handles trailing slash' '
 
 '
 
+test_expect_success 'submodule <invalid-path> warns' '
+
+       git submodule no-such-submodule 2> output.err &&
+       grep "^error: .*no-such-submodule" output.err
+
+'
+
 test_done