5 # Copyright (c) 2015 Ken McDonell. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 status
=1 # failure is the default!
17 $sudo rm -rf $tmp.
* $seq.full
18 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
23 -e '/^_/s/: .*/: .../' \
27 # real QA test starts here
28 echo "=== all -D options ==="
29 pminfo
-D profile
,fetch
,context
-v sample.long
>/dev
/null
2>$tmp.err
33 echo '=== all $PCP_DEBUG options ==='
34 n
=`pmdbg -D profile,fetch,context | sed -e 's/.* = //'`
35 PCP_DEBUG
=$n pminfo
-v sample.long
>/dev
/null
2>$tmp.err
39 echo '=== both -D and $PCP_DEBUG options with full overlap ==='
40 n
=`pmdbg -D profile,fetch,context | sed -e 's/.* = //'`
41 PCP_DEBUG
=$n pminfo
-D profile
,fetch
,context
-v sample.long
>/dev
/null
2>$tmp.err
45 echo '=== both -D and $PCP_DEBUG options with no overlap ==='
46 n
=`pmdbg -D profile,context | sed -e 's/.* = //'`
47 PCP_DEBUG
=$n pminfo
-D fetch
-v sample.long
>/dev
/null
2>$tmp.err