dbus-test-runner(1)
β¨ dbus-test-runner β¨
okay so welcome to the dbus-test-runner(1) manual page bestie, this is the one that runs a whole bunch of tasks under their own private DBus session bus and honestly? iconic. π¦
πΈ NAME πΈ
dbus-test-runner β run multiple tasks under an independent DBus session bus π
π SYNOPSIS π
dbus-test-runner [ options ]
π DESCRIPTION π
dbus-test-runner is a simple little executable for running a couple of programs under a new DBus session. like, it's small, it's cute, it does one thing and it ATE. π
Use this DBus tool for unit testing of code that accesses DBus at runtime. fr fr, that's the whole vibe.
π HELP OPTIONS π
dbus-test-runner accepts the following help options on the command line:
-h,--helpβ shows you a short help text with the application and help command line options, then dips. bye bestie π--help-allβ shows the FULL list of available command line options (help, task control, application) and then exits. the whole menu, no gatekeeping β¨--help-task-controlβ shows just the options that control how a task is handled by the test runner. the task-control-only corner π
π§ TASK CONTROL OPTIONS π§
dbus-test-runner accepts the following task control options on the command line:
-t,--task=<executable>β defines a new task to run under our private DBus session. new task, who dis π-n,--task-name=<name>β a string to label the output from the previously defined task. defaults totaskN. name your babies πΌ--task-bus={session|system|both}β configures which bus the task expects to connect to. Default:both-r,--ignore-returnβ do not use the return value of the task to calculate whether the test passes or fails. like, we're not checking the receipts on this one π-i,--invertβ inverts the return value of the task before calculating whether the test passes or fails. plot twist energy π-p,--parameterβ add a parameter to the call of this utility. may be called as many times as you'd like. go off, stack 'em π«Ά-f,--wait-for=<dbus-name>β adbus-namethat should appear on the bus before this task is started. we WAIT for our friends, periodt β³-c,--wait-until-completeβ signal that we should wait until this task exits even if we don't need the return value. main character stays till the end of the movie π¬
ngl the original page has a lil stray fragment eturn hanging out in this section (a typo moment, it's giving copy-paste tragedy π). we're keeping it exactly as it is because the facts do not change. π
π APPLICATION OPTIONS π
dbus-test-runner accepts the following application options on the command line:
--dbus-daemon=<executable>β path to the DBus daemon to use. defaults to'dbus-daemon'.-d,--dbus-config=<config_file>β configuration file for the newly created DBus server. defaults to'/usr/share/dbus-test-runner/session.conf'.--bustle-monitor=<executable>β path to the Bustle DBus Monitor to use. defaults to'bustle-dbus-monitor'.-b,--bustle-data=<data_file>β a file to write out data from the bustle logger to. spill the tea into a file β-m,--max-wait=<seconds>β the maximum amount of time the test runner will wait for the test to complete. default is30seconds. tick tock bestie β°--keep-envβ whether to propagate the execution environment to the dbus-server and all the services activated by it. by default the environment is cleared. so if you want your env vars to come with you, you gotta ask π₯Ί--bus-type={session|system|both}β configures which buses are represented by the tool to the tasks. Default:session
π SEE ALSO π
π AUTHOR π
This manual has been written for the Debian project by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> and may be used by others. shoutout to Mike, absolute legend π«Ά
Version 15.04.20141209 Β· Jan 2015
okay that's the whole page bestie, go forth and run your tasks under your own little DBus session, you're gonna slay π β¨πΈπ¦
π¦ where this page comes from
- debian bookworm: dbus-test-runner 19.04.0-1 Β· GPL-3.0-only
- debian trixie: dbus-test-runner 19.04.0-1.1 Β· GPL-3.0-only
- ubuntu jammy: dbus-test-runner 16.10.0~bzr100+repack1-4.1 Β· GPL-3.0-only
- ubuntu noble: dbus-test-runner 19.04.0-1build2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms