git-check-attr: Demonstrate problems with unnormalized paths
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fa92f3233c
commit
d4d4f8df14
@ -93,6 +93,15 @@ test_expect_success 'attribute test' '
|
||||
|
||||
'
|
||||
|
||||
test_expect_failure 'unnormalized paths' '
|
||||
|
||||
attr_check ./f f &&
|
||||
attr_check ./a/g a/g &&
|
||||
attr_check a/./g a/g &&
|
||||
attr_check a/c/../b/g a/b/g
|
||||
|
||||
'
|
||||
|
||||
test_expect_success 'core.attributesfile' '
|
||||
attr_check global unspecified &&
|
||||
git config core.attributesfile "$HOME/global-gitattributes" &&
|
||||
|
Loading…
Reference in New Issue
Block a user