X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/afee8ed17a56617618fb7f963b111d7cf0fb56e7..a95303a164651f8c6c7b72e461a782f49bae8a9f:/test/inc/test-pop diff --git a/test/inc/test-pop b/test/inc/test-pop index 7724ae3c..01b32a13 100755 --- a/test/inc/test-pop +++ b/test/inc/test-pop @@ -68,11 +68,39 @@ run_test "inc -user ${TESTUSER} -host 127.0.0.1 -port $testport -width 80 \ "Incorporating new mail into (null)... 1 12/17 No Such User Hello< "$netrc" +chmod 600 "$netrc" +echo "credentials: file:${netrc}" >>$MH + +pid=`"${MH_OBJ_DIR}/test/fakepop" "$testmessage" "$testport" \ + "$TESTUSER" "$TESTPASS"` + +touch "$MH_TEST_DIR/inc.mbox" +run_test "inc -user ${TESTUSER} -host 127.0.0.1 -port $testport -width 65 \ + -pack $MH_TEST_DIR/inc.mbox" \ + "Incorporating new mail into (null)... + + 1 12/17 No Such User Hello<