Drop unused condition check
[pcp.git] / qa / 099
blob62bc20bfb43ab87aa9b5a2c92b585f3533ade799
1 #! /bin/sh
2 # PCP QA Test No. 099
3 # pmlc basics
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
15 trap "rm -f $tmp.*; exit" 0 1 2 3 15
17 _filter_pmlc()
19 sed \
20 -e 's/connect [0-9][0-9]*/connect PID/' \
21 -e "/timed out/d" \
22 -e 's/Version [0-9].*/Version VERSION/'
25 # real QA test starts here
26 pmlc -ie <<End-of-File | _filter_pmlc
27 # no connection to a logger, this should produce an explicit error
28 log mandatory maybe sample.seconds
30 # can we grok EOF in standard input, or does this loop forever?
31 End-of-File
33 echo "expect nothing - start"
34 pmlc </dev/null | _filter_pmlc
35 echo "expect nothing - end"