File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / d / network.atp / ether
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
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 ________________________"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.