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-lib
blob
c9d19c4f048d1ca4013c09c029804a07883add0c
1
# Library of common shell functions for the autotest framework.
2
3
set -e # errors are fatal
4
5
6
# Client helpers. $clientid must be set.
7
8
log() {
9
printf "$(date)\t$*\n" >>"c/$clientid/log"
10
}
11
12
13
# Generic functions.
14
15
pairid() {
16
echo "$*" | tr ' ' '-'
17
}