Test system bus config files on Unix only
authorRalf Habacker <ralf.habacker@freenet.de>
Mon, 2 Nov 2015 23:23:56 +0000 (00:23 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 3 Nov 2015 13:22:30 +0000 (14:22 +0100)
commit34d0c73f998281467ead1b3e185f5b53df6d221f
tree0c37035476fe1ded6d3806b9646e05937ed7f725
parent78545a32c57f7b1571dd10e20a049cb0caf705e6
Test system bus config files on Unix only

Previously, we didn't consistently test parsing of every file in
valid-config-files-system/ everywhere that we tested valid-config-files/.
We now test it on Unix.

The system bus is not supported on Windows, so we do not test
valid-config-files-system/ there.

valid-config-files/many-rules.conf contains <user> and <group> rules
which are not applicable to Windows. Copy the original many-rules.conf
to valid-config-files-system/ so that it will be tested on Unix, and
remove the non-portable rules from valid-config-files/many-rules.conf.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92721
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
[rh:base patch came from Simon]
bus/config-parser-trivial.c
bus/config-parser.c
cmake/test/CMakeLists.txt
test/Makefile.am
test/data/valid-config-files-system/many-rules.conf [new file with mode: 0644]
test/data/valid-config-files-system/system.d/test.conf [moved from test/data/valid-config-files/system.d/test.conf with 85% similarity]
test/data/valid-config-files/.gitignore
test/data/valid-config-files/many-rules.conf