pmrep: update TODO, man page
[pcp.git] / qa / 331
blobc9806e7ca01d835d267993b9630555a912213f2f
1 #! /bin/sh
2 # PCP QA Test No. 331
3 # Interp mode (similar to qa/093, but with purify)
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 _filter()
18 $PCP_AWK_PROG '
19 BEGIN { skip = 1 }
20 / Purify / { skip = 0 }
21 /^FIU/ { skip = 2; next }
22 /^[^ ]/ && skip == 2 { skip = 0 }
23 skip == 0 { print }'
26 _check_purify src/interp2
28 status=1 # failure is the default!
29 trap "cd $here; rm -rf $tmp; exit \$status" 0 1 2 3 15
31 # real QA test starts here
32 _setup_purify src/interp2
34 for arch in tmparch/bigbin tmparch/mv-bigbin tmparch/noti-foo
36 echo
37 echo "=== $arch ==="
38 _run_purify -a $here/$arch | _filter
39 done
41 # all done
42 status=0
43 exit