mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-07 11:45:36 -05:00
13 lines
169 B
Bash
Executable file
13 lines
169 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
SERVER=$1
|
|
PORT=$2
|
|
|
|
./$SERVER -p $PORT &
|
|
PID=$!
|
|
|
|
sleep 0.1
|
|
./sse_client.exe -p $PORT --alarm=1 /count | tr -d '\r' || true
|
|
|
|
kill $PID
|
|
echo "success"
|