tarantool / checkpatch

Checkpatch for Tarantool
GNU General Public License v2.0
2 stars 2 forks source link

Ignore binary files of a corpus for fuzzer #21

Closed tsafin closed 2 years ago

tsafin commented 2 years ago

checkpatch complains when I add new binary files to fuzzer corpus.

----------------------------------------------------------------
Commit f6096f03272e ("datetime: fuzzer for messagepuck decoder")
----------------------------------------------------------------
ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
#94: FILE: test/static/corpus/mp_datetime/47f16d4100735c9838850fdd1265d94949389e9b:1:
+j
  j
   ���������o��
  ^

ERROR: adding a line without newline at end of file
#94: FILE: test/static/corpus/mp_datetime/47f16d4100735c9838850fdd1265d94949389e9b:1:
+j
  j
   ���������o��

ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
#102: FILE: test/static/corpus/mp_datetime/889c6a675df321355334e553ff014b259ba63cf3:1:
+j
  j
   �������o����
  ^

ERROR: adding a line without newline at end of file
#102: FILE: test/static/corpus/mp_datetime/889c6a675df321355334e553ff014b259ba63cf3:1:
+j
  j
   �������o����

total: 4 errors, 38 lines checked

Commit f6096f03272e ("datetime: fuzzer for messagepuck decoder") has style problems, please review.

NOTE: If any of the errors are false positives, please file a bug at
      https://github.com/tarantool/checkpatch/issues

But they should be entirely ignored.

ligurio commented 2 years ago

We can ignore all files in a directory test/static/corpus ^1.