cats-main
cats-main copied to clipboard
Store hashes for generated input
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.
Also, consider CRLF normalization. Problem flag? Always normalize to LF?