3 # Exercise pmcollectl archive functionality
5 # Copyright (c) 2015 Red Hat Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 which pmcollectl
2>&1 1>/dev
/null || _notrun
"pmcollectl not installed"
18 status
=1 # failure is the default!
19 $sudo rm -rf $tmp.
* $seq.full
20 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
22 # real QA test starts here
24 pmcollectl
-p archives
/collectl-qa
25 pmcollectl
-p archives
/collectl-qa
-sC
26 pmcollectl
-p archives
/collectl-qa
-sN
27 pmcollectl
-p archives
/collectl-qa
-sD
28 pmcollectl
-p archives
/collectl-qa
-sj
30 pmcollectl
-a archives
/YWhcCi.toium
.0
31 pmcollectl
-a archives
/YWhcCi.toium
.0 -sC
32 pmcollectl
-a archives
/YWhcCi.toium
.0 -sN
33 pmcollectl
-a archives
/YWhcCi.toium
.0 -sD
34 pmcollectl
-a archives
/YWhcCi.toium
.0 -sj