#!/bin/bash # Verification script for Hermes Environment Inspector # Test 1: Script exists [ -f /root/.hermes/wizard-outputs/spark/env-check.sh ] || exit 1 # Test 2: Results file exists [ -f /root/.hermes/wizard-outputs/spark/results.txt ] || exit 2 # Test 3: HOST_OS line is present grep "HOST_OS:" /root/.hermes/wizard-outputs/spark/results.txt | head -1 >/dev/null || exit 3 # Test 4: CURRENT_USER: exists grep "CURRENT_USER:" /root/.hermes/wizard-outputs/spark/results.txt | head -1 >/dev/null || exit 4 # Test 5: Hercules profile exists [ -d /root/.hermes/profiles/spark ] || exit 5 # Test 6: Python 3 is available python3 --version >/dev/null 2>&1 || exit 6 # Test 7: Git push verification - commit exists locally git -C /root/troupe-standup rev-parse ed959f0 >/dev/null 2>&1 || exit 7 echo "ALL VERIFICATION TESTS PASSED" exit 0