More notes on the possible min/max method.
[pachi/pachi-r6144.git] / t-play / autotest / autotest-clients
blob0835b8861c24c94304ebe94c67ebb9a951b562c9
1 #!/bin/sh
2 # This is autotest client lister.
4 . ./autotest-lib
6 echo -e "LAST ACTIVITY\t\t\tWFAIL#\tNAME"
7 for c in c/*; do
8 client="${c#c/}"
9 beacon="$(date --rfc-3339=seconds -d "1970-01-01 $(cat "$c/beacon") seconds")"
10 fails="$(grep -c fail "$c/log" || :)"
11 echo -e "$beacon\t$fails\t$client"
12 done