diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test-dbus-qeventloop-runner.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/test-dbus-qeventloop-runner.sh b/tests/test-dbus-qeventloop-runner.sh new file mode 100755 index 0000000..75cab5e --- /dev/null +++ b/tests/test-dbus-qeventloop-runner.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# Source and export D-Bus session info +. /tmp/dbus-info +export DBUS_SESSION_BUS_ADDRESS +export DBUS_SESSION_BUS_PID +export DBUS_SESSION_BUS_WINDOWID + +# Run pong server on system bus +/usr/lib/libresourceqt-tests/test-dbus-pong & + +# Run pong server on system bus +/usr/lib/libresourceqt-tests/test-dbus-pong --session & + +sleep 2 + +# do the testing! +/usr/lib/libresourceqt-tests/test-dbus-qeventloop |