blob: 8d3e9d612c8a975b8405d1e8ead935333f9373dd [file] [log] [blame]
plars122242c2001-06-27 20:26:37 +00001#!/bin/sh
2# This will run all the network tests, with the status logged in /tmp/netpan.log
3cd `dirname $0`
4export LTPROOT=${PWD}
5
6
7# ---***** THESE MUST BE SET FOR CORRECT OPERATION *****---
plars6502f492001-06-27 22:06:13 +00008export RHOST=
9export PASSWD=
plars122242c2001-06-27 20:26:37 +000010# ---***************************************************---
11
12
13export TMPDIR=/tmp
14
plars2c8e1fa2001-09-06 12:14:19 +000015cat ${LTPROOT}/runtest/tcp_cmds > $TMPDIR/network.tests
16cat ${LTPROOT}/runtest/multicast >> $TMPDIR/network.tests
17cat ${LTPROOT}/runtest/rpc >> $TMPDIR/network.tests
18cat ${LTPROOT}/runtest/nfs >> $TMPDIR/network.tests
plars122242c2001-06-27 20:26:37 +000019
20mkdir /tmp/netpan-$$
21cd /tmp/netpan-$$
22
plars2c8e1fa2001-09-06 12:14:19 +000023export PATH="${PATH}:${LTPROOT}/testcases/bin"
plars122242c2001-06-27 20:26:37 +000024
robbiew03cbf732001-10-12 21:06:50 +000025${LTPROOT}/ver_linux
26
plars122242c2001-06-27 20:26:37 +000027${LTPROOT}/pan/pan -e -l /tmp/netpan.log -S -a ltpnet -n ltpnet -f ${TMPDIR}/network.tests
28
29if [ $? -eq "0" ]; then
30 echo pan reported PASS
31else
32 echo pan reported FAIL
33fi
34
35rm -f ${TMPDIR}/network.tests