Add a special-case to squshfs image extraction to not fail if we are not root....
Add a special-case to squshfs image extraction to not fail if we are not root. (Closes: Debian:#991059) Don't treat a failure to extract all entries from squashfs images as a failure that requires falling back to xxd(1) --
Showing
- diffoscope/comparators/squashfs.py 39 additions, 12 deletionsdiffoscope/comparators/squashfs.py
- tests/comparators/test_squashfs.py 21 additions, 8 deletionstests/comparators/test_squashfs.py
- tests/data/squashfs_root_expected_diff 11 additions, 0 deletionstests/data/squashfs_root_expected_diff
- tests/data/test1_root.squashfs 0 additions, 0 deletionstests/data/test1_root.squashfs
- tests/data/test2_root.squashfs 0 additions, 0 deletionstests/data/test2_root.squashfs
- tests/test_source.py 2 additions, 0 deletionstests/test_source.py
tests/data/squashfs_root_expected_diff
0 → 100644
tests/data/test1_root.squashfs
0 → 100644
File added
tests/data/test2_root.squashfs
0 → 100644
File added
Please register or sign in to comment