sdk-dbus-tools-bustle manual
medium
- Image Types:
- basesdk-amd64 / sdk-amd64
- Image Deployment:
- APT
- Type:
- performance
Description
Test that bustle-dbus-monitor shows services on the session bus.
Pre Conditions
- Ensure Rootfs is remounted as read/write.
- Install dependencies
- Restart the system to restore the filesystem state to read-only before running the test.
$ sudo mount -o remount,rw /
$ sudo apt install dbus-tests
$ sudo reboot
Execution Steps
- Run Bustle via Applications Menu > Development > Bustle
- Click "Record" > "Record Session Bus"
- Open a terminal window and run the test command:
- Open a second terminal window and run the test command:
- In Bustle's "Logged _ messages..." window, click Stop
- Run "View > Filter Visible Services..."
- Un-check every service but the ones named like ":1.<number>" and com.example.Echo
- There should be a line indicating ":1.<number>" (eg, ":1.75") triggering a call to com.example.Echo
$ dbus-test-tool echo --name=com.example.Echo --session
$ dbus-test-tool spam --dest=com.example.Echo --session
Expected
The Bustle window should include two "com.example.Spam" signals, the first one with "('hello, world!',)" in its "Arguments" field.