haven't got one at the moment.  I wanted to make sure it was an issue.  I'll 
work on it.
thanks, ray spear

-----Original Message-----
From: Cleber Rosa [mailto:cr...@redhat.com] 
Sent: Friday, June 22, 2012 1:57 PM
To: Spear, Raymond (Mission Critical Linux)
Cc: autotest@test.kernel.org
Subject: Re: [Autotest] Defect?

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