Public bug reported:

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).

** Affects: xz-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: xzdiff

-- 
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 reserve 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

Reply via email to