Advertisement
gur111

Matam Ex0 Part 1 Tester

Mar 22nd, 2020
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # The output of this script should be empty if it succeeds
  4. # To run this script of the csl3 do the following (while you're in the folder with the executable and the test files):
  5. # `curl -s https://pastebin.com/raw/4UCQDwa2 | tr '\n\r' '\n' | bash -`
  6.  
  7. prog=./mtm_tot
  8.  
  9. for i in 1 2 3 4
  10. do
  11.   $prog < test$i.in > tmptest.out
  12.   diff tmptest.out test$i.out
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement