#! /bin/sh # PCP QA Test No. 212 # can I make pmdacisco dump core during exit()? # # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved. # seq=`basename $0` echo "QA output created by $seq" . ./localconfig if [ $PCP_PLATFORM != irix ] then echo "This version of cisco PMDA does not use sprocs" >$seq.notrun echo "$seq: [not run] `cat $seq.notrun`" exit 0 fi . ./common.product . ./common.check . ./common.filter status=0 _needclean=true signal=$PCP_BINADM_DIR/pmsignal trap "_cleanup" 0 1 2 3 15 _cleanup() { if $_needclean then if [ "`echo $PMCD_LOG_DIR/core*`" != "$PMCD_LOG_DIR/core*" ] then file $PMCD_LOG_DIR/core* fi rm -f $tmp.* $sudo ex - $PCP_PMCDCONF_PATH <