testing1/mark
changeset 199 2e13dedd922e
parent 144 41a2b4f2c30c
child 284 fc20e5f83f0e
equal deleted inserted replaced
198:c2d36d8ee2a7 199:2e13dedd922e
     1 #!/bin/sh
     1 #!/bin/bash
     2 ###set -e
     2 ###set -e
     3 
     3 
     4 trap "exit" INT
     4 trap "exit" INT
     5 
     5 
       
     6 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
       
     7 
       
     8 cp $DIR/* .
       
     9 
     6 ./collatz_test.sh output1
    10 ./collatz_test.sh output1
     7 ./alcohol_test.sh output2
    11 ./drumb_test.sh output2
     8 ./drumb_test.sh output3
       
     9 
    12 
       
    13 echo "Here is an automated test report for your work so far on assignment 6.  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
       
    14 
       
    15 cat output1 output2 >> $1