Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. make clean
  4. make
  5.  
  6.  
  7. for i in `seq 1 9`
  8. do
  9. echo Testing Trace: $i \n
  10. echo
  11. make rtest0$i > rtest0$i.txt
  12. make test0$i > test0$i.txt
  13. diff rtest0$i.txt test0$i.txt
  14. rm rtest0$i.txt
  15. rm test0$i.txt
  16. echo
  17. done
  18.  
  19. for i in `seq 10 16`
  20. do
  21. echo Testing Trace: $i
  22. echo
  23. make rtest$i > rtest$i.txt
  24. make test$i > test$i.txt
  25. diff rtest$i.txt test$i.txt
  26. rm rtest$i.txt
  27. rm test$i.txt
  28. echo
  29. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement