home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume11 / musbus / part01 / Groan < prev    next >
Encoding:
Text File  |  1987-09-16  |  550 b   |  31 lines

  1. #! /bin/sh
  2. # $Header: Groan,v 3.4 86/12/24 08:56:45 kenj Beta $
  3. # run MUSBUS multiuser test continuously
  4. rm -f nogroan
  5. n=1
  6. nusers="1 4 8 16 24 32 48 64"
  7. ttys="/dev/ttyi11 /dev/ttyi34 /dev/ttyi03"
  8. dirs="/hon/Bench /tmp/Bench /u1/Bench"
  9. export nusers ttys dirs
  10. for t in $ttys
  11. do
  12.     stty 9600 -tabs -raw -nl >$t &
  13. done
  14. for d in $dirs
  15. do
  16.     if test -d $d
  17.     then
  18.         :
  19.     else
  20.         mkdir $d
  21.         echo $d created.
  22.     fi
  23. done
  24. date > log.groan
  25. while test ! -f nogroan
  26. do
  27.     ./run >> log.groan 2>&1
  28.     echo "Groan: Major Iteration $n Completed" >> log.groan
  29.     n=`expr $n + 1`
  30. done
  31.