config-parser: Simplify test for standard session service dirs
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 17 Feb 2017 17:10:19 +0000 (17:10 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 20 Feb 2017 18:12:58 +0000 (18:12 +0000)
commit5476b8fad009dc8587184ea61f27d7b48eb6a036
tree22b9087f289218696e04152af9afff8fae2c7bc7
parent81c82d2f34b616cdc80a5a332fcb11aab85dded4
config-parser: Simplify test for standard session service dirs

There's little point in asserting that the defaults (without
setting XDG_DATA_HOME, etc.) end with share/dbus-1/services,
because we are about to re-test with known values for XDG_DATA_HOME
etc., at which point we can check exact values which is more strict.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99825
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/config-parser.c