KVM Test: Fix invalid literal bug in ioquit

Sometime check_cmd could not finish in setting time.
Then o="", so int(o) will cause ValueError:
invalid literal for int() with base 10: ''
So change to check return status.

Signed-off-by: Feng Yang <fyang@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4673 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed