mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-17 19:56:41 -04:00
testing: Use local tcp session for DBus to avoid leftover socket files
This commit is contained in:
parent
54351414fa
commit
2547b8d0ef
2 changed files with 16 additions and 1 deletions
|
@ -112,7 +112,7 @@ pub struct TestHandle {
|
|||
impl MockDBus {
|
||||
pub async fn new() -> Result<MockDBus> {
|
||||
let mut process = Command::new("/usr/bin/dbus-daemon")
|
||||
.args(["--session", "--nofork", "--print-address"])
|
||||
.args(["--nofork", "--print-address", "--config-file=data/test-dbus.conf"])
|
||||
.stdout(Stdio::piped())
|
||||
.spawn()?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue