Skip to content

test_text_proper_indentation fails with file 5.39

On Arch Linux, the file test fails on 5.39 as ", truncated" is added to file output. I can't see what would be different about this release but I can confirm 5.38 works.

$ file /tmp/compressed.gz 
/tmp/compressed.gz: gzip compressed data, was "compressed", last modified: Sun Mar 19 22:27:42 2017, max compression, from Unix, truncated
    @skip_unless_file_version_is_at_least("5.37")
    def test_text_proper_indentation(capsys):
        out = run(capsys, pair=("archive1.tar", "archive2.tar"))
    
>       assert out == get_data("archive12.diff.txt")
E       assert '--- archive1... -a\n│ │ +b\n' == '--- archive1... -a\n│ │ +b\n'
E         Skipping 371 identical leading characters in diff, use -v to show
E         -  from Unix
E         +  from Unix, truncated
E         - │ │ +gzip compressed data, was "compressed", last modified: Sun Mar 19 22:27:42 2017, max compression, from Unix
E         + │ │ +gzip compressed data, was "compressed", last modified: Sun Mar 19 22:27:42 2017, max compression, from Unix, truncated
E         ?                                                                                                                 +++++++++++
E           │ ├── compressed...
E         
E         ...Full output truncated (4 lines hidden), use '-vv' to show
Edited by Jelle van der Waa
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information