3 # Exercise pcp-atop functionality.
5 # Copyright (c) 2015 Red Hat.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
17 ATOP
="$PCP_BINADM_DIR/pcp-atop"
18 test -f "$ATOP" || _notrun
"$ATOP is not installed, skipped"
20 status
=1 # failure is the default!
21 $sudo rm -rf $tmp.
* $seq.full
22 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
28 /^=== std out ===$/ { printing=0; next }
29 /^=== std err ===$/ { printing=1; }
30 { if (printing) { print } }' | \
33 s,'"$ATOP"',PCP-ATOP,g
34 s/ -r .*\/archives/ -r ...\/archives/
39 # real QA test starts here
40 _run_valgrind
$ATOP 1 3 \
41 |
tee -a $here/$seq.full | _filter
43 _run_valgrind
$ATOP -r $here/archives
/pcp-atop.folio \
44 |
tee -a $here/$seq.full | _filter