The Nixos/Hydra builder showed that the new split test fails when xz is not available:
http://hydra.nixos.org/build/1079023/log/raw + case $i:$total_n_lines in + split -l2 '--filter=xz > $FILE.xz' in out- bash: xz: command not found split: with FILE=out-aa, exit 127 from command: xz > $FILE.xz + fail=1 + xz -dc out-aa.xz ./split/filter: line 32: xz: command not found + fail=1 Sure, I could have made it use gzip or bzip2, or even sed, but ... >From 3c8ff029d4475eb79f69c98420f93e93a42a25dc Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Sat, 7 May 2011 07:48:00 +0200 Subject: [PATCH] tests: don't fail the split --filter=CMD test if xz is not available * tests/split/filter: Skip if xz is not installed. --- tests/split/filter | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/split/filter b/tests/split/filter index 88321c0..1a7b06a 100755 --- a/tests/split/filter +++ b/tests/split/filter @@ -18,6 +18,7 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ split +xz --version || skip_ "xz (better than gzip/bzip2) required" for total_n_lines in 5 3000 20000; do seq $total_n_lines > in || framework_failure_ -- 1.7.5.1.299.g6e1e4
