2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-12-04 08:07:04 +00:00
Files
xcat-core/xCAT-test/native/genesis_console_fixture.py
T
Vinícius Ferrão 8276d95ca2 test(genesis): share console fixture paths
Keep console environment paths in one owner without changing caller-specific locale, terminal or program settings. Trigger console checks when the owner changes.
2026-11-21 03:05:56 -03:00

10 lines
359 B
Python

"""Private filesystem paths for Genesis console tests."""
def console_paths(root):
return {
"XCAT_" + name: str(root / name.lower())
for name in ("CMDLINE_FILE", "UPTIME_FILE", "OS_RELEASE", "STATUS_DIR", "STATE_FILE",
"DESTINY_FILE", "RESPONSE_FILE", "SYS_ROOT", "PROC_ROOT", "EXTENSION_DIR", "PROVIDER_DIR")
}