Package: diffoscope Severity: minor Tags: upstream Dear Maintainer,
In jessie, xxd outputs one less digit in the line address listing than expected. This causes tests that call xxd to fail because the output does not exactly match the output of xxd that was use to generate the expected diff. Here's an example test session output: __________________________ test_diff ____________________________________ differences = <Difference /dev/null -- /home/brett/repos/diffoscope/tests/comparators/../data/text_ascii1 []> @skip_unless_tools_exist('xxd') def test_diff(differences): expected_diff = get_data('device_expected_diff') > assert differences.unified_diff == expected_diff E assert '@@ -1,3 +1,2...t laborum..\n' == '@@ -1,3 +1,28...t laborum..\n' E @@ -1,3 +1,28 @@ E - -0000000: 6465 7669 6365 3a63 6861 7261 6374 6572 device:character E + -00000000: 6465 7669 6365 3a63 6861 7261 6374 6572 device:character E ? + E - -0000010: 0a6d 616a 6f72 3a20 310a 6d69 6e6f 723a .major: 1.minor: E + -00000010: 0a6d 616a 6f72 3a20 310a 6d69 6e6f 723a .major: 1.minor: E ? + E - -0000020: 2033 0a 3. E + -00000020: 2033 0a 3. E Detailed information truncated (85 more lines), use "-vv" to show tests/comparators/test_device.py:50: AssertionError test_device.test_diff_reverse and test_rpm.test_fallback_comparison fail for the same reason. -- System Information: Debian Release: 8.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-0.bpo.1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)