18 lines
415 B
Python
18 lines
415 B
Python
#!/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()) |