]> code.delx.au - monosys/blob - healthcheck/run-all
2d57d516201bda32511305a9847bfaa4e1873615
[monosys] / healthcheck / run-all
1 #!/bin/bash
2
3 set -eu
4
5 . /etc/os-release
6
7 cd "$(dirname "$(readlink -f "$0")")"
8
9 for i in ./*; do
10 if [ "$i" != "$(basename "$0")" ]; then
11 if ! "$i"; then
12 echo -e "\n^^ FAILED! $(hostname) $PRETTY_NAME -- $i ^^\n"
13 exit 1
14 fi
15 fi
16 done