libflint/run_tests.sh
Evan Burkey 48f773b3ab
All checks were successful
Test and Deploy / test (push) Successful in 15s
Test and Deploy / docs (push) Successful in 28s
Implement Server (#1)
- Generic Server struct
- TCP and UDP

Reviewed-on: #1
2024-07-09 21:03:23 +00:00

13 lines
203 B
Bash
Executable File

set -e
#./testrunner
./tcptest &
tcpout=$(echo "hello" | nc localhost 18632)
echo "tcpout: $tcpout"
if [ "$tcpout" != "TEST SEND" ]; then
echo "Error: \"$tcpout\" != \"TEST SEND\""
exit 1
fi
exit 0