[qmtest] creating targets for rsh based remote operation
Stefan Seefeld
seefeld at sympatico.ca
Mon Feb 27 22:04:25 UTC 2006
Aytekin,
I'm sorry for the late reply.
Aytekin Gel wrote:
> The hostname of the system to run the case is 'n2' and we tried the
> following:
> qmtest create-target -a remote_shell=/usr/bin/rsh n2 rsh_target.RSHTarget
> this seems to generate a QMTest/target file.
Right.
> When we give the target in the appropriate location within the test
> definition, we get a response the target is not defined.
Tests have a 'target_group' attribute that you can set. Targets, on
the other hand, belong to target groups. I suspect that you tried to set
the name of the host ('n2') where the target group was expected.
To set up a target for a particular group you should use
qmtest create-target -a remote_shell=/usr/bin/rsh n2 rsh_target.RSHTarget some_group
Then you may set your test's target_group value to 'some_group'.
The documentation at
http://www.codesourcery.com/public/qmtest/qm-2.3/manual.html/sec-qmtest-concepts.html#sec-targets
is all we have for the moment. Sorry.
HTH,
Stefan
More information about the qmtest
mailing list