3 # sginap use in pmie with large deltas on 32 bit platforms can
4 # wrap and cause a sleep with negative size which, funnily enough,
5 # also causes multiple immediate rule evaluations (which we can
6 # now test for, to detect pmie brokenness).
8 # Copyright (c) 2007 Aconex.
12 echo "QA output created by $seq"
14 # get standard environment, filters and checks
19 signal
=$PCP_BINADM_DIR/pmsignal
20 status
=1 # failure is the default!
22 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
24 # real QA test starts here
25 echo 'load = sample.load;' | pmie
-v -t 1hour
>$tmp.out
2>$tmp.err
&
29 $signal -s TERM
$pmie_pid
32 echo "pmie output ..."
34 echo "pmie stderr ..."