SessionService reads the current session from XDG_STATE_HOME. On a build
host whose user had an auto-created session ("auto: /data") with watch
enabled, every test that booted a ServiceManager inherited it, the session
watcher walked /data during init, and six daemon tests timed out. With the
state dir isolated the same six pass.
The shared test main now points XDG_STATE_HOME at a per-process temp dir
when the caller did not set one, and removes it at exit. A small test checks
the process sees no host session.
Signed-off-by: trvon <me@trevon.dev>
|
||
|---|---|---|
| .. | ||
| crc32_catch2_test.cpp | ||
| format_catch2_test.cpp | ||
| hash_predicates_catch2_test.cpp | ||
| log_rate_limiter_catch2_test.cpp | ||
| path_alias_catch2_test.cpp | ||
| pattern_utils_catch2_test.cpp | ||
| string_utils_catch2_test.cpp | ||
| test_rusage_catch2_test.cpp | ||
| test_state_isolation_catch2_test.cpp | ||
| test_utils_catch2_test.cpp | ||
| time_utils_catch2_test.cpp | ||
| utf8_utils_catch2_test.cpp | ||