summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-05 01:26:06 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-05 01:26:06 +0100
commite6913e8eb44e1dc990ef89f19ab64792880898a5 (patch)
tree9ef60aa58c1cd91c2ce080d9f7b5e8baeea77208 /run
parent951572c6eb7e31834d2d7f1fbc67a9cdb1336696 (diff)
Rationalise naming of test outputs; fix missing check of dcp_test2.
Diffstat (limited to 'run')
-rwxr-xr-xrun/tests13
1 files changed, 10 insertions, 3 deletions
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