mirror of
https://github.com/librespeed/speedtest.git
synced 2026-05-18 18:56:42 +00:00
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
21 lines
412 B
Bash
21 lines
412 B
Bash
#!/bin/sh
|
|
|
|
## simple script to call sanitycheck on all containers
|
|
|
|
PORT=8080
|
|
|
|
if ! apk add w3m; then
|
|
echo "Failed to install w3m package"
|
|
exit 1
|
|
fi
|
|
|
|
echo sleeping a little to get things setteled...
|
|
sleep 15
|
|
|
|
for db in sqlite pg mysql; do
|
|
for distro in alpine debian; do
|
|
hostname=speedtest-$distro-$db
|
|
echo $hostname
|
|
w3m -dump http://$hostname:$PORT/results/sanitycheck.php|grep -v 'N/A'
|
|
done
|
|
done
|