qa: update 660 to generate index.html, fixing pcp-testsuite runs
[pcp.git] / qa / 958
blob616a6c18eaa630cc47070ed6bbe986b021764b05
1 #!/bin/sh
2 # PCP QA Test No. 958
3 # Exercise compressed archive files - xz version
5 # Copyright (c) 2014 Red Hat.
6 # Copyright (c) 2010 Ken McDonell. All Rights Reserved.
9 seq=`basename $0`
10 echo "QA output created by $seq"
12 . ./common.compress
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
26 exit