diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-05 01:26:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-05 01:26:06 +0100 |
| commit | e6913e8eb44e1dc990ef89f19ab64792880898a5 (patch) | |
| tree | 9ef60aa58c1cd91c2ce080d9f7b5e8baeea77208 /run | |
| parent | 951572c6eb7e31834d2d7f1fbc67a9cdb1336696 (diff) | |
Rationalise naming of test outputs; fix missing check of dcp_test2.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/tests | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |
