X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/afee8ed17a56617618fb7f963b111d7cf0fb56e7..bd7a5de6be16c5e5466264439ebdc157fcafab74:/test/inc/test-pop diff --git a/test/inc/test-pop b/test/inc/test-pop index 7724ae3c..2bb0bb4d 100755 --- a/test/inc/test-pop +++ b/test/inc/test-pop @@ -73,6 +73,34 @@ run_test "inc -file $MH_TEST_DIR/inc.mbox -truncate" \ 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<