Rip out the Termux/Android install lane: constraints-termux.txt, psutil_android extraction, termux-browser tests, the apt install-method lane in install.sh, termux api detection, and the TUI termux layout. Zero added termux lines; 255 removed. System prompt and skill-utils termux branches drop with the platform they served. Rebuilt from ethie/pm (f8236a2d91, 7ad9f0c7a5, 8446c871b6, 82fb8e09d1) onto the pm-store stack. 11 hot files hand-merged; test_code_execution restored to branch-final (termux path assertions removed).
12 lines
331 B
Python
12 lines
331 B
Python
from pathlib import Path
|
|
import subprocess
|
|
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parents[2]
|
|
SETUP_SCRIPT = REPO_ROOT / "setup-hermes.sh"
|
|
|
|
|
|
def test_setup_hermes_script_is_valid_shell():
|
|
result = subprocess.run(["bash", "-n", str(SETUP_SCRIPT)], capture_output=True, text=True)
|
|
assert result.returncode == 0, result.stderr
|