run-ptest: fix testcase test-names failure
PATCH 1/1 run-ptest: fix testcase test-names failure
Start the dbus daemon first before executing test-names using dbus-launch, this will set DBUS_SESSION_BUS_ADDRESS.
ERROR:Failed to open connection to system bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Upstream-Status: Pending
--- meta/recipes-core/dbus/dbus/run-ptest | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/dbus/dbus/run-ptest +1 -0
@@ -13,6 +13,7 @@ output() { export DBUS_TEST_HOMEDIR=./test export XDG_RUNTIME_DIR=./test export LD_LIBRARY_PATH=/usr/lib/dbus-test/ptest/test/.libs +export $(dbus-launch) files=`ls test/test-*`
--
2.7.4
This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.