summaryrefslogtreecommitdiff
path: root/qa/common.qt
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
commit47e6e7c84f008a53061e661f31ae96629bc694ef (patch)
tree648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/common.qt
downloadpcp-47e6e7c84f008a53061e661f31ae96629bc694ef.tar.gz
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/common.qt')
-rw-r--r--qa/common.qt17
1 files changed, 17 insertions, 0 deletions
diff --git a/qa/common.qt b/qa/common.qt
new file mode 100644
index 0000000..f43a4d8
--- /dev/null
+++ b/qa/common.qt
@@ -0,0 +1,17 @@
+. /etc/pcp.conf
+. ./common.sh
+. ./common.check
+. ./common.filter
+. ./common.config
+
+tmp=/tmp/$$
+here=`pwd`
+sudo=sudo
+host=`hostname`
+
+# hackery for dbus-based environments
+#
+if which dbus-launch >/dev/null 2>&1
+then
+ eval `dbus-launch | grep 'BUS_ADDRESS='`
+fi