summaryrefslogtreecommitdiff
path: root/meta/recipes-rt
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2014-01-28 15:55:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 11:21:54 +0000
commitbb14a7598d3c0636dc249f719bde0d9d65b2694d (patch)
treea9049653fec8f982b9738c64b9b9f82d89368982 /meta/recipes-rt
parent34bd53c657f82a402723fcf2640b0511a68b6af5 (diff)
downloadopenembedded-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