Wait for non-blank uptime in get_state:

Sometimes reading uptime results in a blank value.  Re-structuring the
uptime command string to make it fail if uptime is blank.  Then calling
with wait_until_keyword_succeeds to ensure a non-blank value is obtained.

Change-Id: I3db49dbc46d0fd7e1d7b96459228144c35e2d701
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
1 file changed