Annotation of cci/d/network.atp/ether, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: clear
                      3: echo "     ***********************************************************"
                      4: echo "     *          This is the Ethernet Acceptance Test           *"
                      5: echo "     ***********************************************************"
                      6: #
                      7: # set remote to name of remote system
                      8: #
                      9: echo
                     10: echo "** Please enter the 'name' of the system that **"
                     11: echo "** you wish to access.                        **"
                     12: echo
                     13: echo -n "Name: "
                     14: read remote
                     15: export remote
                     16: #
                     17: # get the number of cycles to run
                     18: #
                     19: echo
                     20: echo "** Please enter the number of cycles to run. **"
                     21: echo "**     (zero or negative for continuous)     **"
                     22: echo
                     23: echo -n "Cycles: "
                     24: read cycle
                     25: num=0
                     26: who=`whoami`
                     27: #
                     28: # remove the status pass file from previous runs
                     29: #
                     30: rm -f /1a/ether/${who}/${who}_stat
                     31: while test $cycle -le 0
                     32: do
                     33:        /atp/ether_burn
                     34:        if test -s /1a/ether/${who}/${who}_stat
                     35:           then
                     36:                echo
                     37:                echo "## Test Failed After $num Complete Cycles ##"
                     38:                num=`expr $cycle + 1`
                     39:                break
                     40:        else    
                     41:                num=`expr $num + 1`
                     42:                echo
                     43:                echo "#####  End Cycle $num #####"
                     44:        fi
                     45: done
                     46: while test $num -lt $cycle
                     47: do
                     48:        /atp/ether_burn
                     49:        if test -s /1a/ether/${who}/${who}_stat
                     50:           then
                     51:                echo
                     52:                echo "## Test Failed After $num Complete Cycles ##"
                     53:                break
                     54:        else    
                     55:                num=`expr $num + 1`
                     56:                echo
                     57:                echo "#####  End Cycle $num  #####"
                     58:        fi
                     59: done
                     60: echo
                     61: echo
                     62: 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.