From e6913e8eb44e1dc990ef89f19ab64792880898a5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 5 Jun 2015 01:26:06 +0100 Subject: Rationalise naming of test outputs; fix missing check of dcp_test2. --- run/tests | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'run') diff --git a/run/tests b/run/tests index e8357d73..c4065dff 100755 --- a/run/tests +++ b/run/tests @@ -34,15 +34,22 @@ if [ "$?" != "0" ]; then exit 1 fi -# Check the first DCP written by the unit tests +# Check the DCP written by dcp_test1 diff -ur test/ref/DCP/dcp_test1 $work/DCP/dcp_test1 if [ "$?" != "0" ]; then echo "FAIL: files differ" exit 1 fi -# Check the second DCP written by the unit tests -diff -ur test/ref/DCP/bar $work/DCP/bar +# Check the DCP written by dcp_test2 +diff -ur test/ref/DCP/dcp_test2 $work/DCP/dcp_test2 +if [ "$?" != "0" ]; then + echo "FAIL: files differ" + exit 1 +fi + +# Check the DCP written by encryption_test +diff -ur test/ref/DCP/encryption_test $work/DCP/encryption_test if [ "$?" != "0" ]; then echo "FAIL: files differ" exit 1 -- cgit v1.2.3