]>
diplodocus.org Git - nmh/blob - test/format/test-localmbox
3 # Test that we can retrieve the local mailbox name from the profile via
7 if test -z "${MH_OBJ_DIR}"; then
8 srcdir
=`dirname "$0"`/..
/..
9 MH_OBJ_DIR
=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
12 .
"$MH_OBJ_DIR/test/common.sh"
16 testname
="Some User <some@domain.com>"
18 echo "Local-Mailbox: ${testname}" >> ${MH}
20 # We can use "ap" to get the output of format commands
22 testoutput
=`${MH_LIB_DIR}/ap -format "%(localmbox)" ignore`
24 if [ x
"${testname}" != x
"${testoutput}" ]; then
25 echo "Expected ${testname}, got ${testoutput}"