Fails to build with diffutils 3.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Committed
|
Medium
|
Vincent Ladeuil | ||
Breezy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
diffutils 1:3.5-1 in Debian unstable includes the following change:
* Exit status of diff for binary files that differ is now 1, not 2,
as mandated by POSIX. Closes: #737180.
This causes the Bazaar test suite to fail:
=======
FAIL: bzrlib.
-------
Traceback (most recent call last):
testtools.
log
Traceback (most recent call last):
File "/<<BUILDDIR>
self.
File "/<<BUILDDIR>
pprint.
AssertionError: not equal:
a = 2
b = 1
Related branches
- bzr-core: Pending requested
-
Diff: 36 lines (+4/-7)2 files modifiedbzrlib/tests/test_diff.py (+1/-3)
doc/en/release-notes/bzr-2.8.txt (+3/-4)
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
Changed in bzr: | |
milestone: | 2.7.1 → 2.8b1 |
Changed in bzr: | |
status: | In Progress → Fix Committed |
Changed in brz: | |
status: | New → Fix Released |
importance: | Undecided → Medium |
No user impact but since using '2' for binary was a bug upstream and that no code in bzr appears to rely on that (confirmed by the single failure), the test should be fixed to stop checking for this value.