X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c703902741e0f7ce55f87e48ef0d00901195f1bc..eac1212372816e5f6516f5cfd6515358bd32e351:/test/inc/test-pop?ds=sidebyside diff --git a/test/inc/test-pop b/test/inc/test-pop index 580f0cda..2bb0bb4d 100755 --- a/test/inc/test-pop +++ b/test/inc/test-pop @@ -56,8 +56,52 @@ run_test "inc -user ${TESTUSER} -host 127.0.0.1 -port $testport -width 80" \ "Incorporating new mail into inbox... 11+ 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<