weston/tests
Ossama Othman a50e6e4c50 config-parser: Honor XDG_CONFIG_DIRS
This set of changes adds support for searching for a given config file
in the directories listed in $XDG_CONFIG_DIRS if it wasn't found in
$XDG_CONFIG_HOME or ~/.config.  This allows packages to install custom
config files in /etc/xdg/weston, for example, thus allowing them to
avoid dealing with home directories.

To avoid a TOCTOU race the config file is actually open()ed during the
search.  Its file descriptor is returned and stored in the compositor
for later use when performing subsequent config file parses.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
2013-05-14 14:36:37 -04:00
..
.gitignore tests: add sub-surface protocol tests 2013-05-10 14:32:58 -04:00
button-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
event-test.c tests: add test for buffer release event 2013-02-08 13:38:17 -05:00
keyboard-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
Makefile.am tests: add sub-surface protocol tests 2013-05-10 14:32:58 -04:00
matrix-test.c Move matrix.[ch] to shared 2012-12-06 15:53:03 -05:00
setbacklight.c tests/setbacklight: Close filedescriptor on return paths 2013-01-10 16:07:08 -05:00
subsurface-test.c tests: add sub-surface protocol tests 2013-05-10 14:32:58 -04:00
surface-global-test.c Pass argc and argv to modules 2013-02-20 15:37:49 -05:00
surface-test.c Pass argc and argv to modules 2013-02-20 15:37:49 -05:00
text-test.c text: Rename text_input to wl_text_input 2013-05-02 17:06:27 -04:00
weston-test-client-helper.c tests: attach the surface's buffer when moving it 2013-03-04 12:28:42 -05:00
weston-test-client-helper.h tests: export create_shm_buffer() helper 2013-02-08 13:38:14 -05:00
weston-test-runner.c tests: make signal other than ABRT a hard failure 2013-01-24 16:24:22 -05:00
weston-test-runner.h tests: Convert keyboard-test to new test extension 2012-12-11 15:30:25 -05:00
weston-test.c config-parser: Honor XDG_CONFIG_DIRS 2013-05-14 14:36:37 -04:00
weston-tests-env tests: Use&Fix parallel tests 2013-02-22 08:35:22 -05:00
xwayland-test.c tests: Add XWayland test 2013-02-08 12:18:05 -05:00