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