/var/lib/pcp/testsuite/768 is in pcp-testsuite 3.8.12ubuntu1.
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. 768
# pmlogextract bug - reported by Tom Yearke
#
# Copyright (c) 2013 Ken McDonell, Tom Yearke. All Rights Reserved.
#
# get standard filters
. ./common.product
. ./common.filter
. ./common.check
seq=`basename $0`
[ $PCP_VER -lt 3809 ] && _notrun "pmlogextract fix in PCP 3.8.9"
echo "QA output created by $seq"
status=1 # failure is the default!
$sudo rm -rf $tmp.* $seq.full
trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here
pmlogextract -Z UTC -S "@ Nov 27 15:52:30" -T "@ Nov 27 15:54:30" src/node_archive $tmp
pmdumplog -a -Z UTC $tmp
# success, all done
status=0
exit
|