diff options
Diffstat (limited to 'grasp-audit')
| -rwxr-xr-x | grasp-audit/test-ngit-relay.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/grasp-audit/test-ngit-relay.sh b/grasp-audit/test-ngit-relay.sh index 5e94fdb..2d1d7f2 100755 --- a/grasp-audit/test-ngit-relay.sh +++ b/grasp-audit/test-ngit-relay.sh | |||
| @@ -57,6 +57,11 @@ echo "Note: ngit-relay only accepts Git-related events (NIP-34)." | |||
| 57 | echo "Some NIP-01 smoke tests will fail (expected behavior)." | 57 | echo "Some NIP-01 smoke tests will fail (expected behavior)." |
| 58 | echo "Validation tests should pass." | 58 | echo "Validation tests should pass." |
| 59 | echo "" | 59 | echo "" |
| 60 | RELAY_URL="ws://localhost:$PORT" cargo test --lib -- --ignored --nocapture | 60 | |
| 61 | # Run the CLI tool (cleanup happens via trap even on failure) | ||
| 62 | cargo run -- audit --relay "ws://localhost:$PORT" --mode ci --spec nip01-smoke || { | ||
| 63 | echo "⚠️ Some tests failed (expected for ngit-relay)" | ||
| 64 | echo " Validation tests should have passed" | ||
| 65 | } | ||
| 61 | 66 | ||
| 62 | echo "✅ Done!" | 67 | echo "✅ Done!" |