repo.or.cz
/
pachi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #50 from lemonsqueeze/can_countercap
[pachi.git]
/
t-play
/
autotest
/
autotest-clients
blob
ac6608e6cd99f27aa2500d875e3dc462b9d89c65
1
#!/bin/bash
2
# This is autotest client lister.
3
4
. .
/
autotest-lib
5
6
printf
"LAST ACTIVITY
\t\t\t
WFAIL#
\t
NAME
\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