Simple (but probably not very elegant) fix for xzdiff/xzcmp Now it passes the above test.
** Tags added: xzcmp ** Description changed: Description: Ubuntu 11.04 Release: 11.04 Architecture: x86_64 package version: 5.0.0-2 It always returns 0 instead of 1. Simple way to check: cp /etc/hosts /etc/hostname /tmp/ cd /tmp diff -q host* ; echo $? xz host* xzdiff -q host* ; echo $? I could not create a simple test case for 2 (this would be a case where diff fails due to an error while xzdiff can run correctly, i.e. unreadable xz files do not qualify). + + xzcmp behaves the same way, as they are the same program ** Patch added: "patch for fixing xzdiff" https://bugs.launchpad.net/ubuntu/+source/xz-utils/+bug/816325/+attachment/2233602/+files/xzdiff.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/816325 Title: xzdiff does not preserve diff's return value To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xz-utils/+bug/816325/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs