Drop unused condition check
[pcp.git] / qa / 491
blobe688a0376a3ab1c96175a6c813003cfa2ef3de64
1 #!/bin/sh
2 # PCP QA Test No. 491
3 # Checkout the pmdaCacheLookup*() routines in libpcp_pmda
5 # Copyright (c) 2011 Ken McDonell. All Rights Reserved.
8 # get standard environment, filters and checks
9 . ./common.product
10 . ./common.filter
11 . ./common.check
13 seq=`basename $0`
14 echo "QA output created by $seq"
16 status=0 # success is the default!
17 $sudo rm -rf $tmp.* $seq.full
18 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20 _filter()
22 sed -e 's/0x[0-9a-f][0-9a-f]*/ADDR/'
25 # real QA test starts here
26 echo "=== with keys ==="
27 src/keycache2 -k 2>&1 | _filter
29 echo
30 echo "=== using name for keys ==="
31 src/keycache2 2>&1 | _filter
33 # success, all done
34 exit