On Monday, October 22, 2012 13:00:18 James Sumners wrote:
> On 2012-10-22 16:38:00 +0000, Peter Stuge said:
> > Kamil Dudka wrote:
> >> Reported by: Karel Srot
> >> Bug: https://bugzilla.redhat.com/867462
> > I think this is a waste of time.
I am not forcing anybody to work on this. The time I spent on writing
the patch was sponsored by my employer, so it was not a big waste really.
> > The examples are *library usage examples* - they are not supposed to
> > be useful beyond that. Anyone caring about how they output their
> > bytes is clearly not focusing on *library usage*.
> > //Peter
> I agree. I read the RH BugZilla and thought "why is this even a report?
> They are examples, not programs to be used in production."
We are trying to introduce an easy way to test new releases of libssh2
independently of the libraries and applications that use it. Running the
set of examples distributed with libssh2 seemed like a reasonable step to
To improve the test coverage, I asked Karel Srot to write some tests checking
whether the contents of the transferred files matches the original contents.
Obviously, this is something hard to check as long as the output of the
examples is interleaved with verbose messages.
Received on 2012-10-22