Drop unused condition check
[pcp.git] / qa / 706
blobfa1ddfb38a3ac61647fc50896ee5cc01d197cb58
1 #!/bin/sh
2 # PCP QA Test No. 706
3 # Interleaved pmLookupDesc() and pmFetch() across multiple PMDAs ...
4 # trying to reproduce PMDA failure on www.sgi.com
6 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 seq=`basename $0`
10 echo "QA output created by $seq"
12 . ./common.pcpweb
14 status=1 # failure is the default!
16 _cleanup()
18 _restore_state
19 rm -f $tmp.*
20 exit $status
22 trap _cleanup 0 1 2 3 15
24 # real QA test starts here
26 _save_state
28 for i in 1 2 3 4
30 src/multifetch -s 100 >$tmp.$i 2>&1 &
31 src/multifetch -s 100 >$tmp.$i 2>&1 &
32 src/multifetch -s 100 >$tmp.$i 2>&1 &
33 src/multifetch -s 100 >$tmp.$i 2>&1 &
34 done
36 wait
38 for i in 1 2 3 4
40 echo
41 echo "Log for multifetch #$i:"
42 cat $tmp.$i
43 done
45 wait
47 status=0
48 exit