/var/lib/pcp/testsuite/common.qt is in pcp-testsuite 3.10.8build1.
This file is owned by root:root, with mode 0o644.
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 32 | # get standard environment, filters and checks
. ./common.product
. ./common.filter
. ./common.check
. ./common.config
export PCP_STDERR=""
host=`hostname`
if [ -z "$DISPLAY" ]
then
export DISPLAY=$PCPQA_CLOSE_X_SERVER
fi
# hackery for dbus-based environments
#
unset DBUS_SESSION_BUS_PID DBUS_SESSION_BUS_ADDRESS
if which dbus-launch >/dev/null 2>&1
then
eval `dbus-launch 2>/dev/null | grep '^DBUS_SESSION_BUS'`
fi
# general trap handler cleanup routine for qt checkers
_cleanup_qt()
{
# if we started a dbus-daemon above, we should clean it up
[ -z "$DBUS_SESSION_BUS_PID" ] || kill $DBUS_SESSION_BUS_PID
unset DBUS_SESSION_BUS_PID DBUS_SESSION_BUS_ADDRESS
$sudo rm -rf $tmp.*
}
|