Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dm/add-i-edit-abort'
[gitweb.git]
/
t
/
t7400-submodule-basic.sh
diff --git
a/t/t7400-submodule-basic.sh
b/t/t7400-submodule-basic.sh
index a74f24c0db69aa964aaf0e83f8ab978ffc0cc7a2..b8cb2df6670a18ebf54fecbb97a48d0c07a06e2b 100755
(executable)
--- a/
t/t7400-submodule-basic.sh
+++ b/
t/t7400-submodule-basic.sh
@@
-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