You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
783 B

  1. # !/bin/sh
  2. #
  3. # Check ADD:
  4. # Load an ADD
  5. # Store the same ADD
  6. # Compare the two
  7. # (done twice on a small - 0.add - and a medium - 1.add - ADD).
  8. #
  9. rm -f *.tmp*
  10. echo "---------------------------------------------------------------------------"
  11. echo "--------------------- TESTING Load ADD and Store ADD ----------------------"
  12. echo "---------------------------------------------------------------------------"
  13. ./../testdddmp << END1
  14. mi
  15. 3
  16. hlb
  17. 0.add
  18. al
  19. 0.add
  20. 0
  21. as
  22. 0.add.tmp
  23. 0
  24. mq
  25. mi
  26. 50
  27. hlb
  28. 1.add
  29. al
  30. 1.add
  31. 1
  32. as
  33. 1.add.tmp
  34. 1
  35. mq
  36. quit
  37. END1
  38. echo "----------------------------- ... RESULTS ... -----------------------------"
  39. diff --brief 0.add 0.add.tmp
  40. diff --brief 1.add 1.add.tmp
  41. echo "-------------------------------- ... END ----------------------------------"
  42. rm -f *.*.tmp