diff options
Diffstat (limited to 'tests/resources/attr/gitattributes')
-rw-r--r-- | tests/resources/attr/gitattributes | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/resources/attr/gitattributes b/tests/resources/attr/gitattributes new file mode 100644 index 0000000..e038983 --- /dev/null +++ b/tests/resources/attr/gitattributes @@ -0,0 +1,29 @@ +* rootattr +root_test2 -rootattr +root_test3 !rootattr +binfile binary +abc foo bar baz +does-not-exist foo=yes + +root_test2 multiattr +root_test3 multi2=foo + +root_test3 multiattr=1 multiattr=2 multiattr=3 multi2=abc !multi2 +root_test2 multiattr=string -multiattr + +[attr]mymacro positive -negative !rootattr +macro* mymacro another=77 + +[attr]macro2 multi2 -multi2 multi3 !multi3 multi3=answer +macro* macro2 macro2 macro2 + +# let's try some malicious macro defs +[attr]firstmacro -thirdmacro -secondmacro +[attr]secondmacro firstmacro -firstmacro +[attr]thirdmacro secondmacro=hahaha + +macro_bad firstmacro secondmacro thirdmacro + +# another test that Peff found was failing +[attr]notest !test + |