Comment 1 for bug 1865276

Revision history for this message
Paras Babbar (pbabbar) wrote :

Hi Frode,

I am trying to understand the problem here , do you mean if the empty string is returned the function should raised an exception saying it's empty string even though the command receive successful exit status?

This is the function on client side which is returning the output data from exec_command https://github.com/openstack/tempest/blob/8877c4e8919a150992941d0cc6a49227ec863fcc/tempest/lib/common/ssh.py#L205

So I think you mean if empty string was returned then we should raise an exception here in the out_data that empty string was returned?

Thanks