]> diplodocus.org Git - nmh/blobdiff - test/post/test-post-basic
mhlsbr.c: Don't strchr(3) non-string NUL-less buffer.
[nmh] / test / post / test-post-basic
index 2cd512a62751b042cb3ac3fea84e3f90c4575f2b..39915e715e7419975eaca9089997a3b564cc974c 100755 (executable)
@@ -12,6 +12,8 @@ fi
 
 . "${srcdir}/test/post/test-post-common.sh"
 
 
 . "${srcdir}/test/post/test-post-common.sh"
 
+check_exit '-eq 1' "$MH_LIBEXEC_DIR/post" -
+
 #
 # Basic test - Simple message, single user, single recipient.  Note that
 # we test dot-stuffing here as well.
 #
 # Basic test - Simple message, single user, single recipient.  Note that
 # we test dot-stuffing here as well.
@@ -132,7 +134,6 @@ cat > "${testname}.err.expected" <<EOF
 post: SMTP server does not support 8BITMIME, not sending.
 Suggest encoding message for 7-bit transport by setting your
 locale to C, and/or specifying *b64 in mhbuild directives.
 post: SMTP server does not support 8BITMIME, not sending.
 Suggest encoding message for 7-bit transport by setting your
 locale to C, and/or specifying *b64 in mhbuild directives.
-
 post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
 send: message not delivered to anyone
 EOF
 post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
 send: message not delivered to anyone
 EOF