/var/lib/pcp/testsuite/756 is in pcp-testsuite 3.10.8build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/sh
# PCP QA Test No. 756
# Run the test harness for perfevent code.
#
# The test harness is designed to check the correct function of the
# internal perfevent function calls.
#
# Copyright (c) 2014 Joe White
#
seq=`basename $0`
echo "QA output created by $seq"
# get standard environment, filters and checks
. ./common.product
. ./common.filter
. ./common.check
test -e perfevent/perfevent_test || _notrun "Optional perfevent PMDA not present"
status=1 # failure is the default
cd perfevent
if ./perfevent_test all 2>/dev/null;
then
echo "Unit tests Passed"
status=0
fi
cd - > /dev/null
exit $status
|