xz/tests
Lasse Collin 1c673e5681 Fix exit status of "xzdiff foo.xz bar.xz".
xzdiff was clobbering the exit status from diff in a case
statement used to analyze the exit statuses from "xz" when
its operands were two compressed files. Save and restore
diff's exit status to fix this.

The bug is inherited from zdiff in GNU gzip and was fixed
there on 2009-10-09.

Thanks to Jonathan Nieder for the patch and
to Peter Pallinger for reporting the bug.
2011-07-31 11:01:47 +03:00
..
files Tests: Add a test file for the bug in the previous commit. 2011-05-28 08:46:04 +03:00
Makefile.am Fix exit status of "xzdiff foo.xz bar.xz". 2011-07-31 11:01:47 +03:00
bcj_test.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
compress_prepared_bcj_sparc Recreated the BCJ test files for x86 and SPARC. The old files 2009-02-06 09:13:15 +02:00
compress_prepared_bcj_x86 Recreated the BCJ test files for x86 and SPARC. The old files 2009-02-06 09:13:15 +02:00
create_compress_files.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
test_block.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
test_block_header.c Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
test_check.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
test_compress.sh Make tests accommodate missing xz or xzdec. 2010-10-08 15:32:29 +03:00
test_files.sh test_files.sh: Fix the first line. 2010-10-10 17:43:26 +03:00
test_filter_flags.c Remove references to the Subblock filter in xz and tests. 2010-05-27 13:42:44 +03:00
test_index.c Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
test_scripts.sh Fix exit status of "xzdiff foo.xz bar.xz". 2011-07-31 11:01:47 +03:00
test_stream_flags.c Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
tests.h Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00