spark: add simple pwd verification script

This commit is contained in:
spark committed 2026-10-27 06:25:27 +00:00
1 parent e222ef307b
commit 5e5e503ec4
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env python3
"""Simple verification script to check current working directory."""
import os
import sys
cwd = os.getcwd()
print(f"Working directory: {cwd}")
if cwd == '/root':
print("PASS: Working directory is /root")
sys.exit(0)
else:
print(f"FAIL: Working directory is {cwd}, expected /root", file=sys.stderr)
sys.exit(1)
if __name__ == "__main__":
sys.exit(verify_hermes_setup())