Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Disallow the empty string as an attribute name
[gitweb.git]
/
t
/
t0003-attributes.sh
diff --git
a/t/t0003-attributes.sh
b/t/t0003-attributes.sh
index ebbc7554a7d4dce4c2ed33a79f5d4feb3a520f05..8c76b79bb0b9c188763c62824bb9db085cdfa98a 100755
(executable)
--- a/
t/t0003-attributes.sh
+++ b/
t/t0003-attributes.sh
@@
-42,6
+42,12
@@
test_expect_success 'setup' '
'
+test_expect_success 'command line checks' '
+
+ test_must_fail git check-attr "" -- f
+
+'
+
test_expect_success 'attribute test' '
attr_check f f &&