[PATCH] Add a test for 0-byte sized streams

Jeremy Allison jra at samba.org
Tue Sep 22 18:44:30 UTC 2015


On Tue, Sep 22, 2015 at 08:38:27PM +0200, Ralph Böhme wrote:
> On Tue, Sep 22, 2015 at 11:27:39AM -0700, Jeremy Allison wrote:
> > On Tue, Sep 22, 2015 at 03:35:55AM +0200, Ralph Böhme wrote:
> > > Hi!
> > > 
> > > Attached is a patch with a new torture streams test that checks
> > > whether 0-byte size streams are returned in a getinfo(streamlist).
> > > 
> > > Please review and push if ok. Thanks!
> > 
> > The line below is faulty :-(.
> > 
> > > +	torture_assert_goto(tctx, ret == ok, ret, done, "smb2_create");
> 
> can't we make the compiler accept ok meaning true? Oh my... ;)
> 
> Updated patch attached.

Thanks - pushed !



More information about the samba-technical mailing list