3 # pmlogger specs with internal instance identifiers
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
15 trap "rm -f $tmp $tmp.*; exit" 0 1 2 3 15
16 signal
=$PCP_BINADM_DIR/pmsignal
20 _filter_pmlogger_log \
22 -e '/[Ss]ignalled (signal=.*), exiting/d' \
24 -e 's/line [345]/line N/'
27 # real QA test starts here
28 cat <<End-of-File >$tmp.config
29 log mandatory on 1 sec {
30 sample.bin [ "bin-100" ]
32 sample.bin [ "bin-not-here" ]
37 pmlogger
-L -c $tmp.config
-l $tmp.out
-s 1 $tmp >$tmp.err
2>&1 &
39 ((sleep 4; $signal -s TERM
$killer)&) >/dev
/null
2>&1
42 cat $tmp.err
$tmp.out | _filter