aboutsummaryrefslogtreecommitdiff
path: root/tests/test_scripts.sh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-06-13xzgrep: Improve the test script.Lasse Collin1-10/+14
Now it should be close to the functionality of the original version by Pavel Raiskup.
2014-06-11xzgrep: Add a test for the previous fix.Lasse Collin1-4/+22
This is a simplified version of Pavel Raiskup's original patch.
2011-08-06Run the scripts with the correct shell in test_scripts.sh.Lasse Collin1-4/+4
The scripts are now made executable in the build tree. This way the scripts can be run like programs in test_scripts.sh. Previously test_scripts.sh always used sh but it's not correct if @POSIX_SHELL@ is set to something else by configure. Thanks to Jonathan Nieder for the patch.
2011-07-31Fix exit status of "xzdiff foo.xz bar.xz".Lasse Collin1-0/+54
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.