Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_extract_tar_lrz fails due to verbose output from lrzip 0.650+ #2069

Open
mgorny opened this issue Feb 16, 2024 · 0 comments
Open

test_extract_tar_lrz fails due to verbose output from lrzip 0.650+ #2069

mgorny opened this issue Feb 16, 2024 · 0 comments

Comments

@mgorny
Copy link
Contributor

mgorny commented Feb 16, 2024

When running the test suite with lrzip 0.651 installed, I'm getting the following test failures:

  7: test_extract_tar_lrz                                            FAIL
  6: test_extract_cpio_lrz                                           FAIL

The detailed logs suggest that the problem is that lrzip produces verbose output:

test_extract_tar_lrz

tar/test/test_extract_tar_lrz.c:43: File should be empty: test.err
    File size: 132
    Contents:
0000 44 65 63 6f 6d 70 72 65 73 73 69 6e 67 2e 2e 2e Decompressing...
0010 0a 0a 41 76 65 72 61 67 65 20 44 65 43 6f 6d 70 ..Average DeComp
0020 72 65 73 73 69 6f 6e 20 53 70 65 65 64 3a 20 20 ression Speed:  
0030 30 2e 30 30 30 4d 42 2f 73 0a 5b 4f 4b 5d 20 2d 0.000MB/s.[OK] -
0040 20 33 30 37 32 20 62 79 74 65 73 20 20 20 20 20  3072 bytes     
0050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                 
0060 20 20 20 20 20 20 20 20 20 20 20 0a 54 6f 74 61            .Tota
0070 6c 20 74 69 6d 65 3a 20 30 30 3a 30 30 3a 30 30 l time: 00:00:00
0080 2e 30 30 0a         

test_extract_cpio_lrz

cpio/test/test_extract_cpio_lrz.c:43: Contents don't match
  file="test.err"
0000_44_65_63_6f_6d_70_72_65_73_73_69_6e_67_2e_2e_2e_Decompressing...
0010_0a_0a_41_76_65_72_61_67_65_20_44_65_43_6f_6d_70_..Average DeComp
0020_72_65_73_73_69_6f_6e_20_53_70_65_65_64_3a_20_20_ression Speed:  
0030_30_2e_30_30_30_4d_42_2f_73_0a_5b_4f_4b_5d_20_2d_0.000MB/s.[OK] -
0040_20_35_31_32_20_62_79_74_65_73_20_20_20_20_20_20_ 512 bytes      
0050_20_20_20_20_20_20_20_20_20_20_20_20_20_20_20_20_                
0060_20_20_20_20_20_20_20_20_20_20_0a_54_6f_74_61_6c_          .Total
0070_20_74_69_6d_65_3a_20_30_30_3a_30_30_3a_30_30_2e_ time: 00:00:00.
0080_30_30_0a_31_20_62_6c_6f_63_6b_0a_               00.1 block.
  expected
0000_31_20_62_6c_6f_63_6b_0a_                        1 block.

FWICS lrzip -q is insufficient to silence that output, lrzip -Q is necessary since 0.650. However, I don't know how to preserve backwards compatibility there (sigh):

https://github.com/ckolivas/lrzip/blob/e5e9a61fccfd7eff1475bd209e5db11824d88369/WHATS-NEW#L18-L19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant