##
## nmh _does_ have a test suite!
##
-TESTS_ENVIRONMENT = MH_OBJ_DIR=@abs_builddir@ \
- MH_TEST_DIR=@abs_builddir@/test/testdir \
- auxexecdir=$(auxexecdir) bindir=$(bindir) \
- mandir=$(mandir) sysconfdir=$(sysconfdir) \
+TESTS_ENVIRONMENT = MH_OBJ_DIR="@abs_builddir@" \
+ MH_TEST_DIR="@abs_builddir@/test/testdir" \
+ auxexecdir="$(auxexecdir)" bindir="$(bindir)" \
+ mandir="$(mandir)" sysconfdir="$(sysconfdir)" \
MULTIBYTE_ENABLED=$(MULTIBYTE_ENABLED) \
$(TESTS_SHELL) ## Keep at end of TESTS_ENVIRONMENT.
##
- All nmh programs will now warn about multiple profile entries for
the same non-null, non-comment component. In previous versions, all
but the first were silently ignored.
-- mhmail now supports all post(8) options, and optionally can use
+- mhmail now supports all post(8) options, or optionally can use
send(1) with all of its options. Its formerly undocumented -resent
switch has been documented. And it has new -attach, -headerfield,
and -send/-nosend switches.
+- Default to flock() locking on OpenBSD and Darwin.
+- Added -directives support to mhbuild(1) to control whether or not
+ mhbuild will honor MIME directives by default. And added support
+ for special #on/#off/#pop directives to control the MIME directive
+ processing state.
----------------------------
OBSOLETE/DEPRECATED FEATURES
http://smtpfilter.sourceforge.net/esmtp.html
- conflict(8) is deprecated and will be removed from the next release.
- mhtest(8) is deprecated and will be removed from the next release.
+
+---------
+BUG FIXES
+---------
+
+- Replaced utilities that operate on pbm files with those that operate
+ on pnm files in etc/mhn.defaults [Bug #15152].
+- Removed obsolete BUGS section at end of rcvstore(1) man page [Bug #4361].
+- Fixed -nocc me doesn't account for Alternate-Mailboxes [Bug #36635].
- Avoid depending on the exact format of output from system (non-nmh)
programs.
+The Heirloom Bourne Shell, http://heirloom.sourceforge.net/sh.html,
+catches many non-portable shell constructs, such as $(), $(()), !, and
+assignment in export statements.
+
checkbashisms, available at http://sourceforge.net/projects/checkbaskisms/,
might help some catch problems. Though it misses all of the troublesome
constructs, except for assignment in an export statement, listed above.
export MH_TEST_DIR auxexecdir bindir mandir sysconfdir pagerpath
export MULTIBYTE_ENABLED
-test -z "$MH_INST_DIR" && MH_INST_DIR=${MH_TEST_DIR}/inst
+test -z "$MH_INST_DIR" && MH_INST_DIR="${MH_TEST_DIR}/inst"
export MH_INST_DIR
unset MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE MHTMPDIR
setup_test ()
{
- MH=${MH_TEST_DIR}/Mail/.mh_profile
- MHMTSCONF=${MH_INST_DIR}${sysconfdir}/mts.conf
- PATH=${MH_INST_DIR}${bindir}:${PATH}
- MH_LIB_DIR=${MH_INST_DIR}${auxexecdir}
+ MH="${MH_TEST_DIR}/Mail/.mh_profile"
+ MHMTSCONF="${MH_INST_DIR}${sysconfdir}/mts.conf"
+ PATH="${MH_INST_DIR}${bindir}:${PATH}"
+ MH_LIB_DIR="${MH_INST_DIR}${auxexecdir}"
export MH MHMTSCONF MH_LIB_DIR PATH
#
# Only install once
#
- if [ -d ${MH_INST_DIR}${bindir} ]; then
+ if [ -d "${MH_INST_DIR}${bindir}" ]; then
:
else
- (cd ${MH_OBJ_DIR} && make DESTDIR=${MH_INST_DIR} SETGID_MAIL= install) ||
+ (cd "${MH_OBJ_DIR}" &&
+ make DESTDIR="${MH_INST_DIR}" SETGID_MAIL= install) ||
exit 1
#### Don't test with sendmail because it would really send the
#### mail. If configured to use sendmail, change to smtp instead
#### so that we use fakesmtp.
- sed -e 's/mts: *sendmail/mts: smtp/' ${MHMTSCONF} >${MHMTSCONF}.new
- mv -f ${MHMTSCONF}.new ${MHMTSCONF}
+ sed -e 's/mts: *sendmail/mts: smtp/' "${MHMTSCONF}" >"${MHMTSCONF}.new"
+ mv -f "${MHMTSCONF}.new" "${MHMTSCONF}"
fi
# clean old test data
- trap "rm -rf $MH_TEST_DIR/Mail" 0
+ trap "rm -rf '$MH_TEST_DIR/Mail'" 0
# setup test data
- mkdir $MH_TEST_DIR/Mail || exit 1
- cat > $MH <<EOF || exit 1
+ mkdir "$MH_TEST_DIR/Mail" || exit 1
+ cat > "$MH" <<EOF || exit 1
Path: ${MH_TEST_DIR}/Mail
buildmimeproc: ${MH_INST_DIR}${bindir}/mhbuild
libdir: ${MH_LIB_DIR}
scan.YYYYMMDD scan.default scan.mailx scan.nomime scan.size \
scan.time scan.timely scan.unseen
do
- cp ${MH_INST_DIR}${sysconfdir}/${f} ${MH_TEST_DIR}/Mail || exit 1
+ cp "${MH_INST_DIR}${sysconfdir}/${f}" "${MH_TEST_DIR}/Mail" || exit 1
done
folder -create +inbox > /dev/null