On 06/22/2012 04:40 PM, Spear, Raymond (Mission Critical Linux) wrote:
> $ /usr/local/autotest/cli/atest host list xyz; echo $?
> Unknown host(s):
>          xyz
> 0
>
> Should this really return 0.  It failed to find the host.  I expected it to 
> return 1.

Yes, you have a valid point. IMHO

$ autotest-rpc-client host list

should return zero even if not hosts are listed, but when asking for a 
specific non-existing host like you did, should return non zero.

Care to send a patch?

Thanks,
CR.

> ray spear
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to