projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document formatarg.
[mmh]
/
test
/
mhshow
/
test-cte-binary
diff --git
a/test/mhshow/test-cte-binary
b/test/mhshow/test-cte-binary
index
7d2125d
..
b53f1e0
100755
(executable)
--- a/
test/mhshow/test-cte-binary
+++ b/
test/mhshow/test-cte-binary
@@
-6,8
+6,8
@@
######################################################
if test -z "${MH_OBJ_DIR}"; then
######################################################
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"
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
This is a test; this is the body.
EOF
mhshow -nopause $msgnum > $actual 2>&1
-diff -u $expected $actual
+check "$expected" "$actual"
+
+exit $failed
+