On Fri, Mar 26, 2010 at 8:03 AM, Darin Petkov <[email protected]> wrote:
> John, > > On Thu, Feb 18, 2010 at 8:31 AM, John Admanski <[email protected]>wrote: > >> You can access the args passed in from your control file via an "args" >> variable that's automatically populated with them (much like the machines >> variable is). I don't know if there are actually any existing examples of >> using it, though. > > > It seems that these args are propagated to server-side control files only, > not client-side. Correct? We ran into a use case where it would have been > useful to have them propagated to a client-side control file... and worked > around the issue with switching to a server-side control file. > > Yes, that's correct. The client (currently) doesn't really have any notion of args (even if you were to invoke it directly). It probably wouldn't be that difficult to add that sort of thing, but usage of args on the server side was pretty much non-existent so there was never much pressure before to add something similar to the client. -- John > Darin > > >> >> -- John >> >> On Wed, Feb 17, 2010 at 5:16 PM, Taniya Das < >> [email protected]> wrote: >> >>> Hi, >>> I am trying to figure out how to use this " -a ARGS, --args=ARGS >>> additional args to pass to control file" option from command line. >>> I also want to parse the argument list in control file. >>> Could anyone help me, how it can be done? >>> >>> Is there any tests, which currently does this for reference. >>> Please help me. >>> >>> Thanks, >>> Taniya Das >>> >>> >>> _______________________________________________ >>> Autotest mailing list >>> [email protected] >>> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >>> >>> >> >> _______________________________________________ >> Autotest mailing list >> [email protected] >> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >> >> >
_______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
