ATF-log archive

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

Re: #56: Reset getopt(3) variables for test body (was: atf-run does not reset getopt(3) variables for test body)



On Thu Jul 22 2010 at 09:47:04 -0000, atf trac notification wrote:
>  This is not atf-run's fault.  atf-run just fork + exec's the test program,
>  so it's the test program itself who should be doing this.  In particular,
>  the code in atf-c/detail/tp_main.c.

Oh, right.  optind just happens to be set to 1 when you run the program
by hand as ./tp test ;)


Home | Main Index | Thread Index | Old Index