|
|
Power 6/32 Unix version 1.2b
#!/bin/sh
clear
echo " ***********************************************************"
echo " * This is the Ethernet Acceptance Test *"
echo " ***********************************************************"
#
# set remote to name of remote system
#
echo
echo "** Please enter the 'name' of the system that **"
echo "** you wish to access. **"
echo
echo -n "Name: "
read remote
export remote
#
# get the number of cycles to run
#
echo
echo "** Please enter the number of cycles to run. **"
echo "** (zero or negative for continuous) **"
echo
echo -n "Cycles: "
read cycle
num=0
who=`whoami`
#
# remove the status pass file from previous runs
#
rm -f /1a/ether/${who}/${who}_stat
while test $cycle -le 0
do
/atp/ether_burn
if test -s /1a/ether/${who}/${who}_stat
then
echo
echo "## Test Failed After $num Complete Cycles ##"
num=`expr $cycle + 1`
break
else
num=`expr $num + 1`
echo
echo "##### End Cycle $num #####"
fi
done
while test $num -lt $cycle
do
/atp/ether_burn
if test -s /1a/ether/${who}/${who}_stat
then
echo
echo "## Test Failed After $num Complete Cycles ##"
break
else
num=`expr $num + 1`
echo
echo "##### End Cycle $num #####"
fi
done
echo
echo
echo "_______________________ End Of Ethernet ATP ________________________"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.