#!/bin/bash+ −
###set -e+ −
+ −
trap "exit" INT+ −
+ −
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"+ −
+ −
cp $DIR/* .+ −
+ −
./re_test.sh output1+ −
#./bf_test.sh output2+ −
+ −
echo -e "Here is an automated test report for your work so far on assignment 9. Please note that this is not the mark for your work; it is provided only in the hope that it is useful in developing your solution. Passing these tests does not guarantee your code is free from bugs: after the deadline, your code will be marked against a different, more thorough set of test cases.\n\n" > $1+ −
+ −
+ −
cat output1 >> $1+ −
+ −