#!/bin/sh echo "Executing tests ..." cat test.txt | ./eval.out > ans.out.txt echo "Done." echo "Show diff ..." diff ans.txt ans.out.txt # Test equality if [ $status ] then echo 'All tests are OK.' else echo 'Failure !!!' fi