#!/bin/bash # Build and run the Go IRC Stress Tester echo "Building Go IRC Stress Tester..." cd "$(dirname "$0")" # Build the stress tester go build -o irc_stress_test go_stress_test.go if [ $? -eq 0 ]; then echo "Build successful!" echo "Running stress test..." echo "========================" ./irc_stress_test else echo "Build failed!" exit 1 fi