Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/t3800: do not use a temporary file to hold expected result.
[gitweb.git]
/
t
/
t0020-crlf.sh
diff --git
a/t/t0020-crlf.sh
b/t/t0020-crlf.sh
index 0807d9f01a178567e433c9c057064d026109ade2..89baebdfa69648c92f0a88c6f227059742b07ae9 100755
(executable)
--- a/
t/t0020-crlf.sh
+++ b/
t/t0020-crlf.sh
@@
-5,7
+5,7
@@
test_description='CRLF conversion'
. ./test-lib.sh
q_to_nul () {
- tr Q '\0'
+ tr Q '\0
00
'
}
append_cr () {
@@
-371,4
+371,11
@@
test_expect_success 'in-tree .gitattributes (4)' '
}
'
+test_expect_success 'invalid .gitattributes (must not crash)' '
+
+ echo "three +crlf" >>.gitattributes &&
+ git diff
+
+'
+
test_done