]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: don't fail the split --filter=CMD test if xz is not available
authorJim Meyering <meyering@redhat.com>
Sat, 7 May 2011 05:48:00 +0000 (07:48 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 7 May 2011 05:48:00 +0000 (07:48 +0200)
* tests/split/filter: Skip if xz is not installed.

tests/split/filter

index 88321c0dc97de4334b3381226dd1a1f12de398a8..1a7b06ac1a8daf1c6a09604692bcd11f6cbef63b 100755 (executable)
@@ -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_