3 # pmlogger preamble gets timestamp from first pmFetch?
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
16 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
18 # real QA test starts here
19 echo "log mandatory on 100 msec pmcd.timezone" \
20 | pmlogger
-s1 -D1 -l $tmp.log
$tmp >$tmp.err
2>&1
22 echo "expect no messages ..."
23 cat $tmp.err
$tmp.log \
27 /Starting logger/ { state = 1; next }
31 print "timestamp delta NEGATIVE!",p,$6
33 print "timestamp delta more than 1 second!",p,$6
38 # optional stuff if your test has verbose output to help resolve problems
40 echo "If failure, check $seq.full (this) and $seq.full.ok (reference)"