KVM test: simplify remote_scp()

No need to use the redundant timeout check (end_time <= time.time()).
This is taken care of by read_until_last_line_matches().
The same goes for the exit status check.

Also, rename timeout to transfer_timeout and timeout_ to timeout.

Signed-off-by: Michael Goldish <mgoldish@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4650 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed