1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh echo "--------------------" echo "running socket test" echo "--------------------" ./socket if [ $? -ne 0 ]; then echo "[FAIL]" else echo "[PASS]" fi