build: Makepkgs support for vector deb building
[pcp.git] / qa / 318
blob25a03632b70c090a6e832bdfced7f26eb64afeb8
1 #! /bin/sh
2 # PCP QA Test No. 318
3 # pmie botch in handling time macros
5 # Copyright (c) 2007 Ken McDonell. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 status=0 # success is the default!
17 $sudo rm -rf $tmp.*
18 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 cat <<'End-of-File' \
22 | pmie -A 1min -t 1min -z -v -a archives/20041125.0 2>&1 \
23 | fgrep -v "evaluator exiting"
24 $minute;
25 $hour;
26 $minute > 34 -> print "OK1";
27 pmcd.license + $minute > pmcd.license + 34 -> print "OK2";
28 End-of-File