Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/perl-git-comment-typofix' into next
[gitweb.git]
/
t
/
t3700-add.sh
diff --git
a/t/t3700-add.sh
b/t/t3700-add.sh
index 53c0cb6dea686ac872c219b746a0c24b3d505416..40a0d2b52d34e762125e3e019649b51ac71badca 100755
(executable)
--- a/
t/t3700-add.sh
+++ b/
t/t3700-add.sh
@@
-331,6
+331,10
@@
test_expect_success 'git add --dry-run --ignore-missing of non-existing file out
test_i18ncmp expect.err actual.err
'
+test_expect_success 'git add empty string should fail' '
+ test_must_fail git add ""
+'
+
test_expect_success 'git add --chmod=[+-]x stages correctly' '
rm -f foo1 &&
echo foo >foo1 &&