Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- testPhrase="asdfghjklqwertyuiopzxcvbnm1234567890qwer"
- echo $testPhrase | spim -f reverse.s > result.tmp
- if diff result.tmp crs.tmp >diff.tmp; then
- echo -e "\nPassed test\n"
- else
- echo -e "\nFailed test\n"
- cat diff.tmp
- fi
- rm diff.tmp
- rm result.tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement