blob: ba220f24a216166806983d5096aaaddd100e4bec [file] [log] [blame]
Guido van Rossumfdcbbcb1992-12-21 14:31:41 +00001: ${PYTHON=python}
Guido van Rossum5e6a3561995-10-11 18:54:15 +00002: ${SERVER=charon.cwi.nl}
Guido van Rossumfdcbbcb1992-12-21 14:31:41 +00003
4set -xe
5
6$PYTHON -c 'from rpc import test; test()'
Guido van Rossum5e6a3561995-10-11 18:54:15 +00007$PYTHON -c 'from rpc import test; test()' ${SERVER}
Guido van Rossumfdcbbcb1992-12-21 14:31:41 +00008
9$PYTHON -c 'from rpc import testsvr; testsvr()' &
Guido van Rossum5e6a3561995-10-11 18:54:15 +000010PID=$!
Guido van Rossum9e80d6f1993-12-17 14:32:26 +000011sleep 2
Guido van Rossumfdcbbcb1992-12-21 14:31:41 +000012$PYTHON -c 'from rpc import testclt; testclt()'
Guido van Rossum5e6a3561995-10-11 18:54:15 +000013kill -2 $PID
Guido van Rossumfdcbbcb1992-12-21 14:31:41 +000014
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()'