testing1/mark2
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 03 Jan 2022 00:59:32 +0000
changeset 416 ef6ad5276c02
parent 303 8eee758beedc
permissions -rwxr-xr-x
updated test with second arguments

#!/bin/bash
###set -e

trap "exit" INT

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

cp $DIR/* .

./drumb_test.sh tmp_output2

echo -e "Here is an automated test report for some work in the Part6 directory.  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.  Please ensure you test your code on your own machine in order to make sure it is bug free!! Passing these tests does not guarantee your code is free from bugs!! Also after the deadline, your code will be marked against a different, more thorough set of test cases.\n\n" > $1

cat tmp_output2 >> $1