3 # used to cause core dump when using libpcp_lite ... problem moved
4 # slightly when libpcp_lite replaced by PM_CONTEXT_LOCAL
6 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
10 echo "QA output created by $seq"
12 # get standard filters
16 trap "rm -f $tmp.*; exit" 0 1 2 3 15
18 # real QA test starts here
22 for args
in "" "-L" "-h localhost" "-a ../tmparch/foo"
25 echo "sudo ./pcp_lite_crash $args ..."
26 eval $sudo .
/pcp_lite_crash
$args >$tmp.out
2>&1
29 sed -e '/using .* kmem interface/d' $tmp.out \
32 if [ "`echo core*`" != "core*" ]
34 echo "In qa/src, running pcp_lite_crash created a core dump"
35 echo until this is fixed
, my pid
= $$
36 echo exit status is
$s