summaryrefslogtreecommitdiffstats
path: root/Demo/rpc/test
blob: ba220f24a216166806983d5096aaaddd100e4bec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
: ${PYTHON=python}
: ${SERVER=charon.cwi.nl}

set -xe

$PYTHON -c 'from rpc import test; test()'
$PYTHON -c 'from rpc import test; test()' ${SERVER}

$PYTHON -c 'from rpc import testsvr; testsvr()' &
PID=$!
sleep 2
$PYTHON -c 'from rpc import testclt; testclt()'
kill -2 $PID

$PYTHON -c 'from mountclient import test; test()'
$PYTHON -c 'from mountclient import test; test()' gatekeeper.dec.com

$PYTHON -c 'from nfsclient import test; test()'
$PYTHON -c 'from nfsclient import test; test()' gatekeeper.dec.com
$PYTHON -c 'from nfsclient import test; test()' gatekeeper.dec.com /archive

$PYTHON -c 'from rnusersclient import test; test()' ''

$PYTHON -c 'from rpc import testbcast; testbcast()'