PageRenderTime 31ms CodeModel.GetById 25ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Demo/rpc/test

http://unladen-swallow.googlecode.com/
#! | 24 lines | 17 code | 7 blank | 0 comment | 0 complexity | d81199ce08a4b541e5ebe793834dcbb8 MD5 | raw file
 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()'