3 # Exercise compressed archive files - xz version
5 # Copyright (c) 2014 Red Hat.
6 # Copyright (c) 2010 Ken McDonell. All Rights Reserved.
10 echo "QA output created by $seq"
14 which xz
>/dev
/null
2>&1 || _notrun
"No xz binary installed"
16 status
=1 # failure is the default!
17 $sudo rm -rf $tmp $tmp.
* $seq.full
18 trap "cd $here; rm -rf $tmp $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 _prepare_compress xz unxz xz
22 _exercise_compression
2>&1 \
23 |
sed -e 's/format not recognised/format not recognized/'
25 status
=0 # success, we're all done