make ./matrix ./matrix-ff diff matrix.dat matrix-ff.dat ret=$? if [ $ret != 0 ] ; then echo "Failed" else echo "Success" make clean fi