pmrep: fix archive end time reporting
[pcp.git] / qa / 333
blob1f24bca30de93c518d2debb28a60eb4e51cdbcab
1 #! /bin/sh
2 # PCP QA Test No. 333
3 # Interp mode (similar to qa/097, but with purify) (see also 395)
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 /^===/ { print; next }
21 / Purify / { skip = 0 }
22 /^FIU/ { skip = 2; next }
23 /^[^ ]/ && skip == 2 { skip = 0 }
24 skip == 0 { print }'
27 _check_purify src/interp4
29 status=1 # failure is the default!
30 trap "cd $here; rm -rf $tmp; exit \$status" 0 1 2 3 15
32 # real QA test starts here
33 _setup_purify src/interp4
35 for arch in tmparch/bigbin tmparch/mv-bigbin tmparch/noti-foo
37 echo
38 echo "=== $arch ==="
39 _run_purify -a $here/$arch | _filter
40 done
42 # all done
43 status=0
44 exit