Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. testPhrase="asdfghjklqwertyuiopzxcvbnm1234567890qwer"
  4.  
  5. echo $testPhrase | spim -f reverse.s > result.tmp
  6.  
  7. if diff result.tmp crs.tmp >diff.tmp; then
  8.     echo -e "\nPassed test\n"
  9. else
  10.     echo -e "\nFailed test\n"
  11.         cat diff.tmp
  12. fi
  13.  
  14. rm diff.tmp
  15. rm result.tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement