mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-12-04 08:07:04 +00:00
8276d95ca2
Keep console environment paths in one owner without changing caller-specific locale, terminal or program settings. Trigger console checks when the owner changes.
10 lines
359 B
Python
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")
|
|
}
|