diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2014-01-28 15:55:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 11:21:54 +0000 |
commit | bb14a7598d3c0636dc249f719bde0d9d65b2694d (patch) | |
tree | a9049653fec8f982b9738c64b9b9f82d89368982 /meta/recipes-rt | |
parent | 34bd53c657f82a402723fcf2640b0511a68b6af5 (diff) | |
download | openembedded-core-bb14a7598d3c0636dc249f719bde0d9d65b2694d.tar.gz openembedded-core-bb14a7598d3c0636dc249f719bde0d9d65b2694d.tar.bz2 openembedded-core-bb14a7598d3c0636dc249f719bde0d9d65b2694d.zip |
oeqa/utils: sshcontrol: rewrite the SSHControl class
Split the class in two, one to handle the process and the
timeout based on output and one for the actual ssh/scp commands.
The ssh/scp methods now use the same run method.
It does the same thing as before but:
- it looks cleaner.
- adds support for using a different user than root
- optionally, raises an exception when exit code != 0
(that's useful for code outside of tests, where you wouldn't want
to check the return code every time as the tests do)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-rt')
0 files changed, 0 insertions, 0 deletions