bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cunit [Was: Re: mailutils]


From: Sam Roberts
Subject: Re: cunit [Was: Re: mailutils]
Date: Thu, 21 Mar 2002 23:40:33 -0500
User-agent: Mutt/1.3.16i

Quoteing address@hidden, on Thu, Mar 21, 2002 at 08:48:21PM -0500:
> [..]
> 
> > Oh, and I found a bug, too, in my locker_unlock() when you ctrl-C
> > it... already we are seeing results! ;-)

And when I tried to commit the fix, I found Sergey had already fixed.
He's fast!

> 8-)
> 
> > > > - open a mailbox on arbitrary file descriptors (can we do this by
> > > >   setting the stream after creating one?)
> > > 
> > > probably, we could create an arbitrary stream_t object that sends
> > > garbage or good data intermix with garbage.
> > 
> > I was thinking for nasty testing on the server you want to fork
> > one and do writes() and reads() to try and kill it with garbage.
> > 
> > To test the mailboxes it would be nice to do
> > 
> > mailbox_create("pop://user:pass", &mbox);
> > stream_t s;
> > stream_create_popen("pop3d --inetd --maildir=`pwd`", &s);
> > mailbox_set_stream(mbox, s);
> > mailbox_open(); // have it just just the stream, rather than opening
> >   // a tcp connection
> > mailbox_stat();
> > ..
> 
> And the funny part with the above snippet is that it might
> even work with a little tweaking.

Thats why I suggest it! :-)

Sam

-- 
Sam Roberts <address@hidden> (Vivez sans temps mort!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]