qa: revert some change to expected 244 outputs (from pmda-restart)
[pcp.git] / qa / 414
blobd603f8c6c96f92286cd2a94714d892405d9851e5
1 #! /bin/sh
2 # PCP QA Test No. 414
3 # slow AF callback handling, pv #550109
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard filters
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 status=1 # failure is the default!
17 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
18 rm -f $seq.full
20 # real QA test starts here
22 # filtering needed because some non-determinism in ordinal numbering
24 src/slow_af -D af 2>$tmp.err \
25 | sed \
26 -e 's/#16$/#last/' \
27 -e 's/#17$/#last/'
29 cat $tmp.err >>$seq.full
30 echo
31 echo "Diagnostic output lines ..."
32 sed <$tmp.err \
33 -e 's/[0-2][0-9]:[0-5][0-9]:[0-5][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9]/TIME/g' \
34 -e 's/[0-2][0-9]:[0-5][0-9]:[0-5][0-9]\.[0-9][0-9][0-9]/TIME/g' \
35 -e 's/0x0)/(nil))/g' \
36 -e 's/0x[0-9a-f][0-9a-f]*/ADDR/g' \
37 | LC_COLLATE=POSIX sort \
38 | uniq
40 # success, all done
41 status=0
42 exit