Debian Codegraph @

cpython27/Demo/rpc/test

raw
1 : ${PYTHON=python}
2 : ${SERVER=charon.cwi.nl}
3
4 set -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()' &
10 PID=$!
11 sleep 2
12 $PYTHON -c 'from rpc import testclt; testclt()'
13 kill -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()'