3 test_description=gitattributes
12 git check-attr test -- "$path" >actual &&
13 echo "$path: test: $2" >expect &&
14 test_cmp expect actual
19 test_expect_success 'setup' '
28 ) >a/.gitattributes &&
30 echo "h test=a/b/h" &&
31 echo "d/* test=a/b/d/*"
36 test_expect_success 'attribute test' '
42 attr_check a/b/g a/b/g &&
43 attr_check b/g unspecified &&
44 attr_check a/b/h a/b/h &&
45 attr_check a/b/d/g "a/b/d/*"