]>
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 [ -z "${MH_TEST_COMMON}" ]; then
8 echo "MH_TEST_COMMON not set; try running via 'make check'"
15 testname
="Some User <some@domain.com>"
17 echo "Local-Mailbox: ${testname}" >> ${MH}
19 # We can use "ap" to get the output of format commands
21 testoutput
=$
(${MH_LIB_DIR}/ap
-format "%(profile Local-Mailbox)" ignore
)
23 if [ x
"${testname}" != x
"${testoutput}" ]; then
24 echo "Expected ${testname}, got ${testoutput}"