Merge pull request #50 from lemonsqueeze/can_countercap
[pachi.git] / t-play / autotest / autotest-clients
blobac6608e6cd99f27aa2500d875e3dc462b9d89c65
1 #!/bin/bash
2 # This is autotest client lister.
4 . ./autotest-lib
6 printf "LAST ACTIVITY\t\t\tWFAIL#\tNAME\n"
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 printf "$beacon\t$fails\t$client\n"
12 done