Guido van Rossum | fdcbbcb | 1992-12-21 14:31:41 +0000 | [diff] [blame] | 1 | : ${PYTHON=python} |
Guido van Rossum | 5e6a356 | 1995-10-11 18:54:15 +0000 | [diff] [blame] | 2 | : ${SERVER=charon.cwi.nl} |
Guido van Rossum | fdcbbcb | 1992-12-21 14:31:41 +0000 | [diff] [blame] | 3 | |
| 4 | set -xe |
| 5 | |
| 6 | $PYTHON -c 'from rpc import test; test()' |
Guido van Rossum | 5e6a356 | 1995-10-11 18:54:15 +0000 | [diff] [blame] | 7 | $PYTHON -c 'from rpc import test; test()' ${SERVER} |
Guido van Rossum | fdcbbcb | 1992-12-21 14:31:41 +0000 | [diff] [blame] | 8 | |
| 9 | $PYTHON -c 'from rpc import testsvr; testsvr()' & |
Guido van Rossum | 5e6a356 | 1995-10-11 18:54:15 +0000 | [diff] [blame] | 10 | PID=$! |
Guido van Rossum | 9e80d6f | 1993-12-17 14:32:26 +0000 | [diff] [blame] | 11 | sleep 2 |
Guido van Rossum | fdcbbcb | 1992-12-21 14:31:41 +0000 | [diff] [blame] | 12 | $PYTHON -c 'from rpc import testclt; testclt()' |
Guido van Rossum | 5e6a356 | 1995-10-11 18:54:15 +0000 | [diff] [blame] | 13 | kill -2 $PID |
Guido van Rossum | fdcbbcb | 1992-12-21 14:31:41 +0000 | [diff] [blame] | 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()' |