Files
wt fd2e82fc9f
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 6s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 9s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 7s
updated tests.sh and added gitea actions
2025-11-20 18:22:47 +07:00

25 lines
349 B
Bash
Executable File

#!/bin/bash
(
./speedtest s test
if [ "$?" -eq 0 ]
then
echo "Speedtest server successful"
else
echo "Speedtest server failed"
exit 1
fi
) &
sleep 0.3
./speedtest c 127.0.0.1
if [ "$?" -eq 0 ]
then
echo "Speedtest client successful"
else
echo "Speedtest client failed"
exit 1
fi
wait
exit 0