Skip to content
Snippets Groups Projects
Commit d5707121 authored by Zbigniew Jędrzejewski-Szmek's avatar Zbigniew Jędrzejewski-Szmek
Browse files

tests: adjust test with one-byte text file for file-5.40

Versions up to 5.39 qualify a file with 'a\n' as "text".  Version 5.40
returns "data". Apparently at least two ascii characters are needed.
This causes a test failure, because instead of 'diff', 'xxd'+'diff'
were used on the files, so the output changed to have a prefix of
"00000000: 610a", and the diff output didn't match.

To resolve this, change the text in the files to 'asdf' and 'bsdf'
respectively. (I tried to minimize changes, but the timestamps on the
contents and details of the compression are changed. But since the
point of the test is to compare diff output, and not gzip compression
details, I think this should be OK.)
parent 1fcc0d51
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment