diff options
author | Martin Wolf <ext-martin.2.wolf@nokia.com> | 2010-02-08 16:23:10 +0200 |
---|---|---|
committer | Martin Wolf <ext-martin.2.wolf@nokia.com> | 2010-02-08 16:23:10 +0200 |
commit | aa6f0a82078f1d47f3b6dda4bb2f7dea7ce5a003 (patch) | |
tree | 9fdccd444a3de3815315ca89073817735987a094 /tests | |
parent | fd22517204cd038ff47b33ccb05cc17384eb8230 (diff) |
Added dbus-qeventloop runner script
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 |