1: ${PYTHON=python}
2: ${SERVER=charon.cwi.nl}
3
4set -xe
5
6$PYTHON -c 'from rpc import test; test()'
7$PYTHON -c 'from rpc import test; test()' ${SERVER}
8
9$PYTHON -c 'from rpc import testsvr; testsvr()' &
10PID=$!
11sleep 2
12$PYTHON -c 'from rpc import testclt; testclt()'
13kill -2 $PID
14
15$PYTHON -c 'from mountclient import test; test()'
16$PYTHON -c 'from mountclient import test; test()' gatekeeper.dec.com
17
18$PYTHON -c 'from nfsclient import test; test()'
19$PYTHON -c 'from nfsclient import test; test()' gatekeeper.dec.com
20$PYTHON -c 'from nfsclient import test; test()' gatekeeper.dec.com /archive
21
22$PYTHON -c 'from rnusersclient import test; test()' ''
23
24$PYTHON -c 'from rpc import testbcast; testbcast()'
25