On Fri 07 Mar 2014 11:51:56 Philippe Ombredanne wrote:
> On Tue, Mar 4, 2014 at 6:41 PM, William Manley wrote:
> > ---
> >  Makefile.am |   1 +
> >  defs.h      |   1 +
> >  ioctl.c     |   2 +
> >  v4l2.c      | 529
> >  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files
> >  changed, 533 insertions(+)
> >  create mode 100644 v4l2.c
> 
> Just curious, do you know if it is possible to have unit tests for this?

for writes, then it should be for outputs even with bad fd's (like /dev/null).  
otherwise, we'd have to rely on the V4L testing device being available ...

that is, unless we integrate a LD_PRELOAD or ptrace hack that catches ioctls 
and overrides the result :).  that'd probably be the only reasonable way to 
proceed sanely.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to