3 # more interpolate trickery
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
15 trap "rm -f $tmp.*; exit" 0 1 2 3 15
21 grep 'sample ' $tmp.out
22 grep 'log reads' $tmp.out \
24 { if ('$4' <= $4 && $4 <= '$5')
25 print $1 " samples required " '$4' "-" '$5' " log reads"
27 print $0 " ... no. log reads unexpected"
30 ok
=`LC_COLLATE=POSIX sort <$tmp.out \
33 | grep "sampledso.milliseconds: delta: " \
35 '$1' <= $4 && $4 <= '$2' { total += $1 }
39 echo "more than $3 data values in the range $1 - $2"
41 echo "value failure ... got: $ok expected: >= $3 (data values in the range $1 - $2)"
46 # real QA test starts here
47 for arch
in archives
/ok-bigbin archives
/ok-mv-bigbin
51 echo "100 samples, 80 msec apart"
52 src
/interp0
-a $arch -s 100 -t 0.08 sampledso.milliseconds \
53 2>/dev
/null | _filter
75 85 85 400 450
55 echo "100 samples, 8 msec appart"
56 src
/interp0
-a $arch -s 100 -t 0.008 sampledso.milliseconds \
57 2>/dev
/null | _filter
6 9 85 40 110