pcitest.sh 633 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #!/bin/sh
  2. echo "BAR tests"
  3. echo
  4. bar=0
  5. while [ $bar -lt 6 ]
  6. do
  7. pcitest -b $bar
  8. bar=`expr $bar + 1`
  9. done
  10. echo
  11. echo "Interrupt tests"
  12. echo
  13. pcitest -l
  14. msi=1
  15. while [ $msi -lt 33 ]
  16. do
  17. pcitest -m $msi
  18. msi=`expr $msi + 1`
  19. done
  20. echo
  21. echo "Read Tests"
  22. echo
  23. pcitest -r -s 1
  24. pcitest -r -s 1024
  25. pcitest -r -s 1025
  26. pcitest -r -s 1024000
  27. pcitest -r -s 1024001
  28. echo
  29. echo "Write Tests"
  30. echo
  31. pcitest -w -s 1
  32. pcitest -w -s 1024
  33. pcitest -w -s 1025
  34. pcitest -w -s 1024000
  35. pcitest -w -s 1024001
  36. echo
  37. echo "Copy Tests"
  38. echo
  39. pcitest -c -s 1
  40. pcitest -c -s 1024
  41. pcitest -c -s 1025
  42. pcitest -c -s 1024000
  43. pcitest -c -s 1024001
  44. echo