Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 436
blob2c320fc904c9e334cbaca979fafb08f32a6df0f3
1 #!/bin/sh
2 # PCP QA Test No. 436
3 # Exercise compressed archive files - bzip2 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 bzip2 >/dev/null 2>&1 || _notrun No bzip2 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 bzip2 bunzip2 bz2
22 _exercise_compression
23 status=0 # success, we're all done
24 exit