ATF-devel archive

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

Re: #56: Reset getopt(3) variables for test body



On Thu Jul 22 2010 at 16:11:09 -0000, atf trac notification wrote:
> #56: Reset getopt(3) variables for test body
> ---------------------------+------------------------------------------------
>   Reporter:  pooka@...     |       Owner:  jmmv    
>       Type:  defect        |      Status:  accepted
>   Priority:  major         |   Milestone:  0.11    
>  Component:  atf-c         |     Version:          
> Resolution:                |    Keywords:          
> ---------------------------+------------------------------------------------
> 
> Comment (by jmmv):
> 
>  Just to make things clear: why are you trying to use getopt in your test
>  body?

I'm calling code which uses getopt and passing a synthetic argv saves
from pointless refactoring.

But that aside, the obvious use for calling getopt is to test getopt ;)


Home | Main Index | Thread Index | Old Index