3 # check error code reporting, pv #820891
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 status
=0 # success is the default!
17 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
19 # real QA test starts here
20 echo "Expect no output ..."
22 # on IRIX 6.5m should report Warning: cihb_getstats: ... ENOTSUP (1008)
23 # on IRIX 6.5f should report Warning: cihb_getstats: ... EINVAL or nothing
24 # on Linux shuld report nothing
26 src
/pminfo_lite
-L pmcd.control.debug
2>&1 \
27 |
grep 'No such PMAPI error code'
29 # for IRIX this is ENOATTR, elsewhere should be No suchcPMAPI error code
30 # (assuming strerror(1009) does not return anything useful).