home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / unix / dgrep.arc / TRYALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-09-01  |  1.3 KB  |  52 lines

  1. rem ******************
  2. rem TESTS.S - must have s option
  3. rem s f i
  4. rem x 
  5. rem x x
  6. rem x   x
  7. rem x x x
  8. rem ******************
  9. try -ts        <tests.s
  10. if errorlevel 1 pause /\/\/\/\ Error: try -ts tests.s
  11. rem ******************
  12. try -tsf    <tests.s
  13. if errorlevel 1 pause /\/\/\/\ Error: try -tsf tests.s
  14. rem ******************
  15. try -tsi    <tests.s
  16. if errorlevel 1 pause /\/\/\/\ Error: try -tsi tests.s
  17. rem ******************
  18. try -tsfi    <tests.s
  19. if errorlevel 1 pause /\/\/\/\ Error: try -tsfi tests.s
  20. rem ******************
  21. rem TESTS - s option not allowed
  22. rem f i
  23. rem 
  24. rem x 
  25. rem x x
  26. rem   x
  27. rem ******************
  28. try -t         <tests
  29. if errorlevel 1 pause /\/\/\/\ Error: try -t tests
  30. rem ******************
  31. try -tf        <tests
  32. if errorlevel 1 pause /\/\/\/\ Error: try -tf tests
  33. rem ******************
  34. try -tfi    <tests
  35. if errorlevel 1 pause /\/\/\/\ Error: try -tfi tests
  36. rem ******************
  37. try -ti        <tests
  38. if errorlevel 1 pause /\/\/\/\ Error: try -ti tests
  39. rem ******************
  40. rem TESTS.I - test i option
  41. rem f i
  42. rem x x
  43. rem   x
  44. rem ******************
  45. try -tfi    <tests.i
  46. if errorlevel 1 pause /\/\/\/\ Error: try -tfi tests.i
  47. rem ******************
  48. try -ti        <tests.i
  49. if errorlevel 1 pause /\/\/\/\ Error: try -ti tests.i
  50. rem ******************
  51. rem Success!!!
  52.