cats-main icon indicating copy to clipboard operation
cats-main copied to clipboard

Store hashes for generated input

Open klenin opened this issue 8 years ago • 1 comments

Add hash attribute to Test\In tag in package. Read and store hash with algorithm prefix, use sha1 by default.

Add field tests.in_file_hash VARCHAR(100).

After package upload, check constant input files against hashes. After test generation, if hash is NULL, store it, otherwise compare and UH if they are not equal.

klenin avatar May 27 '17 00:05 klenin

Also, consider CRLF normalization. Problem flag? Always normalize to LF?

klenin avatar Feb 21 '18 11:02 klenin