projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the hostable option from mts.conf because it's no longer used.
[mmh]
/
test
/
mhshow
/
test-subpart
diff --git
a/test/mhshow/test-subpart
b/test/mhshow/test-subpart
index
353962d
..
c2a7262
100755
(executable)
--- a/
test/mhshow/test-subpart
+++ b/
test/mhshow/test-subpart
@@
-9,8
+9,8
@@
set -e
if test -z "${MH_OBJ_DIR}"; then
set -e
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"
@@
-57,4
+57,6
@@
EOF
# check it
mhshow -part 1.1 -form mhl.null -nopause $msgnum > $actual 2>&1
# check it
mhshow -part 1.1 -form mhl.null -nopause $msgnum > $actual 2>&1
-diff -u $expected $actual && rm -f $expected $actual
+check "$expected" "$actual"
+
+exit $failed