pmrep: fix archive end time reporting
[pcp.git] / qa / 435
blobd591e8994bbaf71fb6d8df855394866b916b9d40
1 #!/bin/sh
2 # PCP QA Test No. 435
3 # Exercise compressed archive files - gzip 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 gzip >/dev/null 2>&1 || _notrun "No gzip 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 gzip gunzip gz
22 _exercise_compression
23 status=0 # success, we're all done
24 exit