projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweaked build_nmh to work with Cygwin.
[mmh]
/
test
/
mhshow
/
test-qp
diff --git
a/test/mhshow/test-qp
b/test/mhshow/test-qp
index
8116b21
..
12f7f83
100755
(executable)
--- a/
test/mhshow/test-qp
+++ b/
test/mhshow/test-qp
@@
-8,8
+8,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"
@@
-69,4
+69,6
@@
just a newline
=
\b
^H (backspace) character, probably erased = in diff output
EOF
mhshow -nopause $msgnum > $actual 2>&1
=
\b
^H (backspace) character, probably erased = in diff output
EOF
mhshow -nopause $msgnum > $actual 2>&1
-diff -u $expected $actual
+check "$expected" "$actual"
+
+exit $failed