Wim Taymans
|
9bac90882d
|
test: disable broken test
When a prefix is given, the file should not be found.
|
2022-02-01 18:15:16 +01:00 |
|
Peter Hutterer
|
731888fcdd
|
test: fix a memleak in the config tests
Fixes bba9edabee
|
2021-07-07 11:03:23 +00:00 |
|
Peter Hutterer
|
bba9edabee
|
conf: don't allow a NULL config name
No functional changes, this is enforced by the only in-tree callers of
pw_conf_load_conf() but let's enforce this properly.
|
2021-07-06 07:14:21 +00:00 |
|
Peter Hutterer
|
fb2d35895e
|
conf: ignore the prefix if the config file name is an absolute path
Fixes:
$ export PIPEWIRE_CONFIG_PREFIX=/usr/share/pipewire
$ pipewire -c /etc/pipewire/bar.conf
[W][11925.530591][ conf.c: 253 conf_load()] config 0x560039ac6510: error loading config '/usr/share/pipewire//etc/pipewire/pipewire.conf': No such file or directory
[W][11925.530721][ context.c: 178 try_load_conf()] context 0x560039ac6190: can't load config /usr/share/pipewire//etc/pipewire/pipewire.conf: No such file or directory
|
2021-07-06 07:14:21 +00:00 |
|