X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/93a31f9b884f8e8f3f7a7d50cf90ffd365a14f7c..46d843745041d6e852be2ae57de9261ae4e5f399:/test/mhshow/test-cte-binary diff --git a/test/mhshow/test-cte-binary b/test/mhshow/test-cte-binary index 7d2125d7..b53f1e0a 100755 --- a/test/mhshow/test-cte-binary +++ b/test/mhshow/test-cte-binary @@ -6,8 +6,8 @@ ###################################################### if test -z "${MH_OBJ_DIR}"; then - srcdir=`dirname $0`/../.. - MH_OBJ_DIR=`cd $srcdir && pwd`; export MH_OBJ_DIR + srcdir=`dirname "$0"`/../.. + MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR fi . "$MH_OBJ_DIR/test/common.sh" @@ -47,4 +47,7 @@ part text/plain 34 This is a test; this is the body. EOF mhshow -nopause $msgnum > $actual 2>&1 -diff -u $expected $actual +check "$expected" "$actual" + +exit $failed +